Van Sickler, Jim
2002-May-14 12:29 UTC
[Samba] Error in compiling from new SAMBA_2_2 On OpenBSD 3.1
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: DYNEXP=-Wl,--export-dynamic --------------------------------------- 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 Jim
Gerald Carter
2002-May-15 06:10 UTC
[Samba] Error in compiling from new SAMBA_2_2 On OpenBSD 3.1
On Tue, 14 May 2002, Van Sickler, Jim wrote:> 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: > > DYNEXP=-Wl,--export-dynamicChange this to DYNEXP=-Wl,-Bdynamic The current value was submittd from a FreeBSD person. I find ti ironic that it doesn't work on OpenBSD. I'll try to get a BSD VMware session up later today for testing. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--