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] |
In message <19990326181438.A28074@cheops.net.csuchico.edu>you write: > 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. Hmmm. The question then becomes how was the library built. __udivdi3 is a function found in libgcc.a. When you build a shared library routines like __udivdi3 from libgcc.a should have been copied into the library. > /usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from /usr/local/mysql > /lib/mysql/libmysqlclient.sl.6 So. Find out how libmysqlclient.sl.6 was built. I'd bet it was built by calling ld directly instead of using gcc -shared -fPIC <blah blah blah> jeff