Rohan Hart wrote:
Michael DiDonato <didonato@scripps.edu> writes:OK that seemed to let me complete the compiling stage but now it bombs on linking with this error:> Rohan Hart wrote:
>
> Alternatively...
>
> #define _BSD_SIGNALS or _BSD_COMPAT before including <signal.h>
> and you get the slightly different and non-SYSV-compatible BSD proto:
> int (*signal(int sig, int (*func)(int, ...)))(int, ...);
>
> Rohan
>
> Tried -D_XOPEN_SOURCE and then got the following error:
...
> unix.cpp:500: `gettimeofday' undeclared (first use this function)gettimeofday seems to be BSDish and not part of the XOpen
world... however both _XOPEN_SOURCE and _BSD_COMPAT can be set
together which finds gettimeofday and has the interesting property of
creating a void returning signal with BSD semantics.Whether that'll work any better...
Rohan
ld32: ERROR 33 : Unresolved text symbol "basename" -- 1st
referenced by unix.o.
Use linker option -v to
see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "dirname" -- 1st
referenced by unix.o.
Use linker option -v to
see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
gmake[1]: *** [povray] Error 1
gmake[1]: Leaving directory `/home/didonato/temp/povray-3.50a/src'
gmake: *** [all-recursive] Error 1
I am starting to give up on this.
Mike
-- ********************************* Michael DiDonato, PhD The Scripps Research Institute Department of Molecular Biology Maildrop MB4 10550 North Torrey Pines Road La Jolla, CA, 92037 Tel: (858) 784-9261 FAX: (858) 784-2277 http://www.scripps.edu/~didonato *********************************