This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux x86 to Solaris Sparc Cross Compiler


Ok, I've got a solaris-sparc2.5.1 cross compiler, but I have these last
remaining errors when I link a complex program. 

tdir.o(.text+0xec4): undefined reference to `dlerror'netdir.o(.text+0xf34): undefined reference to `dgettext'
netdir.o(.text+0xf58): undefined reference to `dgettext'
netdir.o(.text+0xf7c): undefined reference to `dgettext'
netdir.o(.text+0xfa0): undefined reference to `dgettext'
netdir.o(.text+0xfd8): undefined reference to `dgettext'
/usr/local/2.95.2/sparc-sun-solaris2.5.1/lib/libnsl.a(netdir.o)(.text+0x1014): more undefined references to `dgettext' follow
/usr/local/2.95.2/sparc-sun-solaris2.5.1/lib/libc.a(nss_deffinder.o): In function `SO_per_src_lookup':
nss_deffinder.o(.text+0x74): undefined reference to `dlopen'
nss_deffinder.o(.text+0xa4): undefined reference to `dlsym'
nss_deffinder.o(.text+0xb8): undefined reference to `dlclose'
/usr/local/2.95.2/sparc-sun-solaris2.5.1/lib/libc.a(nss_deffinder.o): In function `SO_per_src_delete':
nss_deffinder.o(.text+0xf4): undefined reference to `dlclose' 

I found a thread a while back telling me about libdl.so*.  So I grabed it and
put it in my source libs directory.  I then deleted by objs directory,
re-configured the compiler and build it.  So, if reference to is automagicly
working, NO, no sir it does not.

Further, I can't find what is supposed to provide 'dgettext'  either in the
.a's or .so's.

Any ideas?

 --  
Alex Smith
Software Engineer
Intruder Alert
Axent Technologies, Inc.
(801) 227-3711
alex@securesmith.net

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]