How to compile multiple Pro*C programs in single C++ file [message #158889] |
Tue, 14 February 2006 23:37 |
ravimahi
Messages: 6 Registered: December 2005
|
Junior Member |
|
|
Hi All,
Actually I have created two Pro*C files.I am calling these two Pro*C files from one C++(main function) file.When I am calling these two methods, its giving error message.
ld: Duplicate symbol "sqlca" in files down.o and down1.o
ld: Duplicate symbol "connstr2" in files down.o and down1.o
ld: Duplicate symbol "sqlerror()" in files down.o and down1.o
3 errors.
I am declaring these variables in both of these programs,
How to solve this problem.
Thanks in Advance,
ravi_thangaraj@rediffmail.com
Ravi Kumar.T
|
|
|
|
|