LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-07-2004, 01:18 AM   #1
nkshirsagar
LQ Newbie
 
Registered: Nov 2004
Posts: 20

Rep: Reputation: 0
linux compilation issues..


Hi,

I am trying to compile a product on AS 3 update two. I uninstalled the gcc that came with this distribution ( 3.0 , i think) and installed older version of gcc, 2.95.2.1 since the new gcc broke compatibility and my code needs the older gcc.

But I still want to compile on AS3. Anyways.. so..

It turns out that some external libraries have their headers changed in this version of Linux (ssl, icu, etc). So I compiled them with the new gcc. They build fine. I copied the libraries into the proper locations. Then I tried to compile my codebase. Here is what I get..


../vxi18n/libvxi18n.a(platform.o)(.text+0x382): In function `vxi18n_unicode_conv
erter::utf8utf16(unsigned short *, int, char const *, int)':
: undefined reference to `u_strFromUTF8_2_0'
../vxi18n/libvxi18n.a(platform.o)(.text+0x3aa): In function `vxi18n_unicode_conv
erter::utf8utf16(unsigned short *, int, char const *, int)':
: undefined reference to `u_strFromUTF8_2_0'
../vxi18n/libvxi18n.a(platform.o)(.text+0x58e): In function `vxi18n_unicode_conv
erter::utf16mbs(unsigned short const *, char *, long)':
: undefined reference to `ucnv_fromUChars_2_0'
../vxi18n/libvxi18n.a(platform.o)(.vxi18n_unicode_converter::gnu.linkonce.t.(voi
d)+0x28): In function `vxi18n_unicode_converter::vxi18n_unicode_converter(void)'
:
: undefined reference to `ucnv_open_2_0'
../vxi18n/libvxi18n.a(platform.o)(.vxi18n_unicode_converter::gnu.linkonce.t.(cha
r const *)+0x2b): In function `vxi18n_unicode_converter::vxi18n_unicode_converte
r(char const *)':
: undefined reference to `ucnv_open_2_0'
../vxi18n/libvxi18n.a(platform.o)(.gnu.linkonce.t._._24vxi18n_unicode_converter+
0x27): In function `vxi18n_unicode_converter::~vxi18n_unicode_converter(void)':
: undefined reference to `ucnv_close_2_0'
./libvxapi.so: undefined reference to `DES_xcbc_encrypt'
./libvxapi.so: undefined reference to `DES_key_sched'
collect2: ld returned 1 exit status
make: *** [vxobjecttype] Error 1
[root@veaas3bld framework]#

Problem is, if I do a nm where the libraries are.. the symbol appears to be defined! For example, in case of ucnv_close_2_0, I did

[root@veaas3bld icu]# cd lib
[root@veaas3bld lib]# nm -o * | grep "ucnv_open_2_0"

and I got..

nm: CVS: Is a directory
libicuuc.a:ucnv.ao:000011f4 T ucnv_open_2_0
libicuuc.a:ucnv_io.ao: U ucnv_open_2_0
libicuuc.a:ucnv2022.ao: U ucnv_open_2_0
libicuuc.a:ucnvhz.ao: U ucnv_open_2_0
libicuuc.a:ucnv_lmb.ao: U ucnv_open_2_0
libicuuc.a:unistr.ao: U ucnv_open_2_0
libicuuc.a:ustring.ao: U ucnv_open_2_0
libicuuc.a:convert.ao: U ucnv_open_2_0

As far as I understood it, libicuuc.a:ucnv.ao:000011f4 T ucnv_open_2_0 means that its defined, isnt it? (its U below.. so its undefined there??)

So anyways, can someone tell me what the issue might be? Could it be the ld?? It's still the new version that came with AS3 CD, should I replace ld too with 2.95 GNU version like I did gcc?

Thanks,
Nikhil.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation issues aunquarra Linux - Newbie 1 11-19-2005 04:32 PM
Kernel Compilation issues Dr Croubie Linux - General 3 06-09-2005 06:40 AM
IT8212 Compilation Issues under 9.1....<grin> PmCode Suse/Novell 4 12-30-2004 12:34 PM
MusEScore 0.1pre2 compilation issues stev160 Linux - Software 0 07-15-2004 10:59 AM
Kernel Compilation issues vinaypai Linux - General 7 06-26-2001 04:06 AM


All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration