gpsd compyling on os x 10.3.5

gpsd compyling on os x 10.3.5

Postby Lorenzo95 » Sun Aug 15, 2004 3:59 pm

Hi guys...

i used gpsd and kismet many times before without problems.
not this time...

i run the configuration and then make.
i´m logged in as root. i work on an ibook2
what i get is this:

lorenzo:/Users/lorenzo/Desktop/gpsd-1.10 root# make
gcc -DHAVE_CONFIG_H -g -O2 -Wall -Werror -c -I. -o gpsd.o gpsd.c
gcc -DHAVE_CONFIG_H -g -O2 -Wall -Werror -c -I. -o netlib.o netlib.c
In file included from netlib.c:12:
/usr/include/gcc/darwin/3.3/varargs.h:10:2: #error "GCC no longer implements <varargs.h>."
/usr/include/gcc/darwin/3.3/varargs.h:11:2: #error "Revise your code to use <stdarg.h>."
make: *** [netlib.o] Error 1

I´m sure for some user here that is not a problem but at the moment
i don´t know what to do.
by the way i use the keyspan serial 2 usb adapter usa-19hs and a garmin etrex venture gps.

thanks for your help guys..

i found the article about editing the netlib file but i´m not sure how that should look like then after i edited it.

later

gero
User avatar
Lorenzo95
 
Posts: 1
Joined: Sat Jun 26, 2004 1:57 pm
Location: Fort McMurray, Alberta

Postby G8tK33per » Mon Aug 16, 2004 2:16 am

Lorenzo95 wrote:Hi guys...

i used gpsd and kismet many times before without problems.
not this time...

i run the configuration and then make.
i´m logged in as root. i work on an ibook2
what i get is this:

lorenzo:/Users/lorenzo/Desktop/gpsd-1.10 root# make
gcc -DHAVE_CONFIG_H -g -O2 -Wall -Werror -c -I. -o gpsd.o gpsd.c
gcc -DHAVE_CONFIG_H -g -O2 -Wall -Werror -c -I. -o netlib.o netlib.c
In file included from netlib.c:12:
/usr/include/gcc/darwin/3.3/varargs.h:10:2: #error "GCC no longer implements <varargs.h>."
/usr/include/gcc/darwin/3.3/varargs.h:11:2: #error "Revise your code to use <stdarg.h>."
make: *** [netlib.o] Error 1


I´m sure for some user here that is not a problem but at the moment
i don´t know what to do.
by the way i use the keyspan serial 2 usb adapter usa-19hs and a garmin etrex venture gps.

thanks for your help guys..

i found the article about editing the netlib file but i´m not sure how that should look like then after i edited it.

later

gero

In netlib.c edit the line to replace varargs.h with stdarg.h
"Make yourselves sheep and the wolves will eat you." ~ Benjamin Franklin

Sons of Confederate Veterans
User avatar
G8tK33per
 
Posts: 6078
Joined: Fri May 09, 2003 4:00 am
Location: Goomba's Booty Boardwalk


Return to Mac OS

Who is online

Users browsing this forum: No registered users and 1 guest

cron