Early warning: link failure on Solaris --with-smbrapper

David Collier-Brown davecb at canada.sun.com
Thu Dec 13 08:59:02 GMT 2001


  After sucessfully linking with the configure fix for the
Solaris linker (used by default even with GCC), I went on
to --with-smbrapper, and got a linker failure:

Linking shared library bin/smbwrapper.so
ld: illegal option -- W

This was on the comand:
  ld -Wl,-h,bin/smbwrapper.so.so -G -o bin/smbwrapper.so [...]
which is the right options for the gnu linker, of course...
The workaround is 
  LD=gcc make -e
which allows the build to run to completion.

--dave




More information about the samba-technical mailing list