[Samba] Error in compiling from new SAMBA_2_2 On OpenBSD 3.1

Van Sickler, Jim vansickj-eodc at Kaman.com
Tue May 14 12:29:02 GMT 2002

If the following line is in Makefile, ld stops
with Error code 1.

This is a new development in Makefile.in;
I built from the SAMBA_2_2 code a couple
of days ago, and the previous Makefile's
DYNEXP= line doesn't have the
"-Wl,--export-dynamic" switches...


Line from current Makefile:



Error notification from "make clean all":

Compiling smbd/notify_kernel.c
Linking bin/smbd
ld: invalid command option `--export-dynamic'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /eodc/shared/samba_2_2/source (line 507 of Makefile).


I'm running OpenBSD 3.1
gcc/g++ 3.0.3


More information about the samba mailing list