Hi all
I'm trying to install xv on my G4 OS 10.1.4, and still have some problems.
I had to edit the Makefile to give the correct paths to the include and lib files (-L/usr/X11R6/lib/ -I/usr/X11R6/include/ -I/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/, the latter -I being just for the malloc.h), and now almost everything compiles fine, except xvdir.c. Could it have something to do with the fact that it "includes" a pwd.h file that is nowhere to be found on my harddisk? there's no indication given by the compiler that it is the source of the problem, however.


Any hint will be welcome!
Thanks
Delphine.

cc -L/usr/X11R6/lib/ -I/usr/X11R6/include/ -I/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/ -DDOJPEG -Ijpeg -DDOTIFF -Itiff -DDOPDS -c xvdir.c
xvdir.c:613: undefined type, found `DIR'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
xvdir.c: In function `LoadCurrentDirectory':
xvdir.c:613: `DIR' undeclared (first use in this function)
xvdir.c:613: (Each undeclared identifier is reported only once
xvdir.c:613: for each function it appears in.)
xvdir.c:613: `dirp' undeclared (first use in this function)
xvdir.c:614: parse error before `int'
xvdir.c:627: `i' undeclared (first use in this function)
xvdir.c:650: `changedDir' undeclared (first use in this function)
xvdir.c:650: `oldpath' undeclared (first use in this function)
xvdir.c:658: `dbeg' undeclared (first use in this function)
xvdir.c:658: `dend' undeclared (first use in this function)
xvdir.c:675: `j' undeclared (first use in this function)
xvdir.c:706: `dp' undeclared (first use in this function)
xvdir.c:741: `st' undeclared (first use in this function)
xvdir.c:742: `mode' undeclared (first use in this function)
xvdir.c:744: `ftype' undeclared (first use in this function)
make: *** [xvdir.o] Error 1


Delphine Fitzenz
Earthquake Hazards Team, USGS
345 Middlefield Rd, MS977
Menlo Park, CA 94025

phone: +1 650 329 5533
(home) +1 650 321 9598
3A-133



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to