This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


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

Help with HPUX 10.20 and egcs




     Hello all.

     I'm asking here because I've tried the respective mailing lists and I've
scoured the archives for ideas.  If this is the wrong place, say so.

     I'm getting an unresolved symbol when I try to dynamicly link a Perl 
module.  Now before you say anything, the symbol is __udivdi3.  This symbol is
why I'm asking here, as it exists because of egcs.

     The particulars:

	HPUX 10.20 system.

gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

	Perl 5.005_02  built with egcs.

     The error I get is:

/usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code)  from /usr/local/mysql/lib/mysql/libmysqlclient.sl.6
install_driver(mysql) failed: Can't load '../blib/arch/auto/DBD/mysql/mysql.sl' for module DBD::mysql: Unresolved external at /usr/local/lib/perl5/5.00502/PA-RISC1.1/DynaLoader.pm line 168.

     Here is the link step for the perl module in question:

LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib/pa1.1:/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.66" ld -o ../blib/arch/auto/DBD/mysql/mysql.sl  -b -L/usr/local/lib dbdimp.o mysql.o -L/usr/local/mysql/lib/mysql    -L/usr/local/mysql/lib/mysql -lmysqlclient -lm -L/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.66 -lgcc 


     libmysqlclient.sl.6 was also built with egcs.

     Is this a problem with egcs?  Perl?  MySQL?  HPUX?

     I would love any suggestions.  I need to get this working.

     Thank you for your time.

Chris...

-- 
PGP fingerprint: 063FCE320681C336  78C164FC9B2F91EA