This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

multipy-defined function


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


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