Leetlewon
02-10-2005, 04:27 PM
make runs ok until right at the end I have a snag:
...../usr/lib/qt-x11-free-3.3.0b1/lib -rpath /usr/X11R6/lib -lgdbm -lz -lpcap
g++: unrecognized option `-rpath'
g++: unrecognized option `-rpath'
/usr/lib/qt-x11-free-3.3.0b1/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
It seems that this has something to do with -rpath being a flag to the linker, not the compiler. How do I pass the compiler options to the linker?
...../usr/lib/qt-x11-free-3.3.0b1/lib -rpath /usr/X11R6/lib -lgdbm -lz -lpcap
g++: unrecognized option `-rpath'
g++: unrecognized option `-rpath'
/usr/lib/qt-x11-free-3.3.0b1/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
It seems that this has something to do with -rpath being a flag to the linker, not the compiler. How do I pass the compiler options to the linker?