Bug 4783 - Cannot build with GNU ld version 2.9.5 (with BFD
Cannot build with GNU ld version 2.9.5 (with BFD
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
x86 Linux
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-07-12 04:27 UTC by Tomas C. Jensen
Modified: 2007-07-12 07:36 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas C. Jensen 2007-07-12 04:27:18 UTC
The configure script fails to detect that ld version 2.9.5 do not support --allow-shlib-undefined.
This might be true to other versions of ld.

This was tested on a SuSE Linux 7.0 runing kernel 2.2.16.

Output from ld -v was:
GNU ld version 2.9.5 (with BFD
Comment 1 Tomas C. Jensen 2007-07-12 07:36:37 UTC
when compiling with ld options LDSHFLAGS="-shared -Wl,-Bsymbolic"
the following happens:

 Linking bin/smbd
 modules/vfs_default.o: In function `vfswrap_linux_setlease':
 modules/vfs_default.o(.text+0x100c): undefined reference to  `linux_set_lease_sighandler'
 modules/vfs_default.o(.text+0x1021): undefined reference to `linux_setlease'
 collect2: ld returned 1 exit status
 make: *** [bin/smbd] Error 1