Nicolas Calimet <pov### [at] free fr> wrote:
[snip]
> Thanks for testing the new build system of POV-Ray 3.6 for UNIX!
>
> - Nicolas Calimet
I'm trying a compile under MSys (minimal shell system for MinGW).
Clean install of msys-1.0.10, gcc-3.4.0 most recent versions of necessary
packages.
../configure -without-x -without-svga ...
configures fine.
Running make is fine until
/mingw/bin/gcc -o mkg3states -I.././../zlib -pipe -O3 -march=pentiumpro
-mtune=pentiumpro -malign-double -minline-all-stringops -I.
-I../libtiff ../libtiff/mkg3states.c
C:/WINNT40/Profiles/SLSAND~1.RDG/LOCALS~1/Temp/cc0Eaaaa.o(.text+0x201):mkg3states.c:
undefined reference to `getopt'
C:/WINNT40/Profiles/SLSAND~1.RDG/LOCALS~1/Temp/cc0Eaaaa.o(.text+0x24d):mkg3states.c:
undefined reference to `getopt'
C:/WINNT40/Profiles/SLSAND~1.RDG/LOCALS~1/Temp/cc0Eaaaa.o(.text+0x257):mkg3states.c:
undefined reference to `optind'
C:/WINNT40/Profiles/SLSAND~1.RDG/LOCALS~1/Temp/cc0Eaaaa.o(.text+0xcd0):mkg3states.c:
undefined reference to `optarg'
C:/WINNT40/Profiles/SLSAND~1.RDG/LOCALS~1/Temp/cc0Eaaaa.o(.text+0xce2):mkg3states.c:
undefined reference to `optarg'
collect2: ld returned 1 exit status
make[3]: *** [tif_fax3sm.c] Error 1
make[3]: Leaving directory `/c/mike/povray-3.6/libraries/tiff/libtiff'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/mike/povray-3.6/libraries'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/mike/povray-3.6'
make: *** [all] Error 2
For some reason it doesn't seem to be finding <getopt.h> although this
should be in the include chain: "port.h" -> <unistd.h> -> <getopt.h>
Hmm ... even if I explicitly #include <getopt.h> I still get the same
errors.
Any ideas anyone?
Mike Andrews.
Post a reply to this message
|