multipy-defined function

vuqpham vuqpham@hcmc.netnam.vn
Fri Dec 31 23:54:00 GMT 1999


Hi all,

I got this problem and got stuck.
I wrote a program that needed to use two third-party libraries.
For some reason, these two libraries have some functions that have same
names. When I linked my program with these libraries, I got an error

lib1.a: fatal error : symbol 'SQLTransact' multiply-defined , also in
lib2.a.

I use gcc 2.95.2 on Sco 5.

Is there any way to pass this error ?

Thanks for your help,

Vu Pham



More information about the Gcc mailing list