After a seemingly succesful run of ".configure" a run of "make" end with the following; Compiling popt/poptparse.c Linking bin/smbd ld: Unresolved: __unsafe_string_function_usage_here__ *** Exit 1 Stop. After posting this failure on the samba mailing list, Andrew Bartlett respined with this suggested fix; We have a configure test who's role it is to detect if a function call is removed, if not used (as detected by the optomization code). We use this particular compiler-quirk to find buffer-overruns at compile time. For some reason, it has failed to correctly note your compiler's behaviour and have placed: #define HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS 1 into your config.h. The easy fix it so remove that line, after you run configure.
Attempting to compile the 3.0.0 release of Samba on Compaq Tru64 4.0f (aka DEC OSF1 version 4.0f) I am using the default compiler and "make" supplied with the OS, not GNU make and also not GCC.
Robert, please let me know if this is still an issues on 3.0.2a so I can move forward on it.
Hi, More feedback: > I have just downloaded 3.0.2a and tried it again, > unfortunately the same problem happens; > Linking bin/smbd > ld: > Unresolved: > __unsafe_string_function_usage_here__ > > Regards > Robert McGrath
please test 3.0.11 and reopen if the bug still exists. Thanks.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.