[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Anyone knows of libstdc.a ?
Hi all!
I've tried to compile the MySQL Perl DBD on my computer (standard RH4.1
machine, P166+16MB) but I keep getting some linking errors when I do a make
test. It tells me it cannot locate the __moddi3 and __divdi3 symbols or
something like that.
That error is documented in the INSTALL file and it instructed me to add a
-lgcc to the linker options in the makefile. So, I did but to no avail. So
I posted my message to the MySQL mailing list and someone told me to write
-lstdc instead. Again, it didn't work because there is neither a
/usr/lib/libstdc.a nor a libstdc.(blah blah).so on my system. I've checked
all the RPMs in the standard RH 4.1 and 4.0 distributions but none contains
any of the files.
Moreover, I run NM on all the libraries on my system but found only
__umoddi3 and __udivdi3. To make matters worse, the _moddi3() and _divdi3()
are not directly used in the C files of the driver, so I'm quite clueless
about how to remove the call to them. (changing the header files maybe)
Are __moddi3 and __divdi3 and/or libstdc.a phantoms from an earlier version
of GNU libc? What do you advice me to do?
Shlomi Fish
Off topic P.S: does anybody know of a port of the JOE editor to DOS and/or
Windoze? I know about emacs but I'm not too interested.
Shlomi Fish
-----------------------------------------------------------------------------
Shlomi Fish Smart Link Ltd.
Home E-mail: shlomif@ibm.net Work E-mail: shlomi@slink.co.il
Home Page: http://www.slink.co.il/~shlomi
The Bible dictates that "Thou shalt not seethe [=cook] a kid [= young goat]
in his mother's milk." To avoid possibility of breaking that regulation,
the Jewish tradition ruled that it also applies to female goats, to mature
goats, and to the meat and milk of two completely unrelated goats. It is
also forbidden to eat the meat with fresh milk, and it applies to beef and
mutten as well (including mixing the milk and meat of two different
beasts). Finally, chicken, which are incapable of milk production, may not
be eaten along with any mammal's milk either.
We are fortunate that most mathematicians were not Jewish. Otherwise, it
would have been forbidden to divide by all numbers between -1 and 1.
-----------------------------------------------------------------------------