Operating System - HP-UX
1829756 Members
1919 Online
109992 Solutions
New Discussion

Duplicate symbol "sqlca" in files <file1.o> <file2.o> on Itanium Server

 
ramakumard77
New Member

Duplicate symbol "sqlca" in files <file1.o> <file2.o> on Itanium Server

Hi All,

I am getting the below mentioned link errors on Itanium server(HP-UX B.11.31 ia64):

" Duplicate symbol "sqlca" in files " .

And my aCC version is:
" aCC: HP C/aC++ B3910B A.06.20 "

Can anyone please help me out to solve the issue?

P.S: I found one solution from this forum, but that did not work (http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=815153).

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Duplicate symbol "sqlca" in files <file1.o> <file2.o> on Itanium Server

Why are you defining the variable in two separate objects?

If you want to have two of them, you should make them static.
Or only have one definition and the other be extern.