Posted: Fri Jul 11, 2003 8:02 am Post subject: Problem in compiling database coordination sample
Voyager
Joined: 11 Jun 2003 Posts: 91
Hello,
I have installed DB2 and MQSeries on Linux/Intel.
I am unable to compile database coordination samples. I have browsed the application programmer guide for help. But i am not getting help for compiling these programs on linux.
I have created testDB on DB2 with MQBankT table.
I have also created db2swit file.
I have created AMQSXAS0.c from AMQSXAS0.SQC using :prep AMQSXAS0.SQC.
I copied utilapi.c and utilapi.h to the working dir.
But i am unable to compile amqsxag0.c and AMQSXAS0.c.
I tried this :
gcc -c AMQSXAS0.c -I/opt/IBM/db2/V8.1/include
I am getting following errors:
amqsxas0.sqc:234 : void value not ignored as it ought to be
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
Have you tried using cc instead of gcc? And that sounds more like a warning than an error. Perhaps there is a compiler flag to suppress it? _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum