Bug 6608 - Linking bin/smbd fails with ld: ERROR 33: Unresolved text symbol "error_message" -- 1st referenced by libsmb
Linking bin/smbd fails with ld: ERROR 33: Unresolved text symbol "error_messa...
Status: RESOLVED FIXED
Product: Samba 3.4
Classification: Unclassified
Component: Build environment
3.4.0
SGI IRIX
: P3 critical
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-04 14:15 UTC by grumpyman
Modified: 2010-06-18 06:56 UTC (History)
0 users

See Also:


Attachments
full output log of failed build process (RHEL4, no ccache) (57.26 KB, text/plain)
2009-08-10 13:00 UTC, D.L. Meyer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description grumpyman 2009-08-04 14:15:34 UTC
I am building on an SGI platform using IRIX 6.5.22. The build is failing during the linking of smbd indicating an unresolved text symbol "error_message".




Linking bin/smbd
gcc: unrecognized option `-n32'
ld: WARNING 85: definition of __register_frame in /usr/local/lib/liblber.so pree
mpts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __register_frame_table in /usr/local/lib/liblber.s
o preempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __deregister_frame in /usr/local/lib/liblber.so pr
eempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of _Unwind_Find_FDE in /usr/local/lib/liblber.so pree
mpts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __register_frame_info_bases in /usr/local/lib/libl
ber.so preempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __register_frame_info in /usr/local/lib/liblber.so
 preempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __register_frame_info_table_bases in /usr/local/li
b/liblber.so preempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __register_frame_info_table in /usr/local/lib/libl
ber.so preempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __deregister_frame_info_bases in /usr/local/lib/li
blber.so preempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __deregister_frame_info in /usr/local/lib/liblber.
so preempts that definition in /usr/lib32/libcrypto.so.
ld: WARNING 85: definition of __register_frame in /usr/lib32/libcrypto.so preemp
ts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __register_frame_table in /usr/lib32/libcrypto.so
preempts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __deregister_frame in /usr/lib32/libcrypto.so pree
mpts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of _Unwind_Find_FDE in /usr/lib32/libcrypto.so preemp
ts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __register_frame_info_bases in /usr/lib32/libcrypt
o.so preempts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __register_frame_info in /usr/lib32/libcrypto.so p
reempts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __register_frame_info_table_bases in /usr/lib32/li
bcrypto.so preempts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __register_frame_info_table in /usr/lib32/libcrypt
o.so preempts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __deregister_frame_info_bases in /usr/lib32/libcry
pto.so preempts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of __deregister_frame_info in /usr/lib32/libcrypto.so
 preempts that definition in /usr/local/lib/libiconv.so.
ld: WARNING 85: definition of replace_dummy in ../lib/replace/replace.o preempts
 that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_strndup in ../lib/replace/replace.o preempts t
hat definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_mkdtemp in ../lib/replace/replace.o preempts t
hat definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_strcasestr in ../lib/replace/replace.o preempt
s that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_setenv in ../lib/replace/replace.o preempts th
at definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_unsetenv in ../lib/replace/replace.o preempts
that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_snprintf in ../lib/replace/snprintf.o preempts
 that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of printf in ../lib/replace/snprintf.o preempts that
definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_asprintf in ../lib/replace/snprintf.o preempts
 that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_getpass in ../lib/replace/getpass.o preempts t
hat definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_strptime in ../lib/replace/strptime.o preempts
 that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_timegm in ../lib/replace/timegm.o preempts tha
t definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_getifaddrs in ../lib/replace/getifaddrs.o pree
mpts that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_strnlen in ../lib/replace/replace.o preempts t
hat definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_vsnprintf in ../lib/replace/snprintf.o preempt
s that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of fprintf in ../lib/replace/snprintf.o preempts that
 definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_vasprintf in ../lib/replace/snprintf.o preempt
s that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of rep_freeifaddrs in ../lib/replace/getifaddrs.o pre
empts that definition in ./bin/libtalloc.so.
ld: WARNING 85: definition of replace_dummy in ../lib/replace/replace.o preempts
 that definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_strndup in ../lib/replace/replace.o preempts t
hat definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_mkdtemp in ../lib/replace/replace.o preempts t
hat definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_strcasestr in ../lib/replace/replace.o preempt
s that definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_setenv in ../lib/replace/replace.o preempts th
at definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_unsetenv in ../lib/replace/replace.o preempts
that definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_snprintf in ../lib/replace/snprintf.o preempts
 that definition in ./bin/libtdb.so.
ld: WARNING 85: definition of fprintf in ../lib/replace/snprintf.o preempts that
 definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_asprintf in ../lib/replace/snprintf.o preempts
 that definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_getpass in ../lib/replace/getpass.o preempts t
hat definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_strptime in ../lib/replace/strptime.o preempts
 that definition in ./bin/libtdb.so.
ld: WARNING 85: definition of rep_timegm in ../lib/replace/timegm.o preempts tha
t definition in ./bin/libtdb.so.
ld: Giving up after printing 50 warnings.  Use -wall to print all warnings.
ld: ERROR 33: Unresolved text symbol "error_message" -- 1st referenced by libsmb
/cliconnect.o.
        Use linker option -v to see when and which objects, archives and dsos ar
e loaded.
ld: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
gmake: *** [bin/smbd] Error 1
Comment 1 D.L. Meyer 2009-08-10 13:00:55 UTC
Created attachment 4533 [details]
full output log of failed build process  (RHEL4, no ccache)
Comment 2 D.L. Meyer 2009-08-10 13:03:28 UTC
(Sorry, Please ignore previous attachment - applies to different bug.  BZ switched to different bug after comment/before attaching ...)  
Comment 3 Björn Jacke 2009-11-07 13:43:44 UTC
does this still happen with 3.4.3 ? If yes, can you please attach config.log ?
Comment 4 Björn Jacke 2010-06-18 06:56:19 UTC
no feedback for half a year. I think this works anyway in recent versions.