The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error in issuing a make and make install ahjiefreak Linux 1 03-12-2008 01:32 AM
Error when running make shashidhara_01 High Level Programming 1 02-02-2007 06:35 PM
how to make percentage of a running script? jimmbp Shell Programming and Scripting 1 01-31-2006 02:41 PM
how to make a current running process ignore SIGHUP signal? stevensxiao UNIX for Advanced & Expert Users 3 12-02-2003 01:35 PM
Error when running the make command nattynatty UNIX for Advanced & Expert Users 2 03-25-2003 05:30 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-26-2007
hram hram is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 1
Error while running C++ make file

The problem is that the original program was compiled using v5.0 MQ client but now we are using MQ client v5.3. Had modified the "make file" options as follows but still i could see the errors.
#CLIENT_V5_LIBS = -limqb23ss -limqc23ss -lmqic -lmqmcs -lnsl -ldl
CLIENT_V5.3_LIBS = -limqb23as -limqc23as -lmqic -lmqmcs -lmqmzse -lsocket -lnsl -ldl

sldn0989dap> echo $path
/usr/bin /bin /usr/sbin /usr/etc /usr/ucb /usr/ccs/bin /usr/atria/bin /usr/openwin/bin /run/bin /sbcimp/run/tp/sybase/OpenClientServer/prod/bin /sbcimp/run/tp/sybase/OpenClientServer/prod/bin . /usr/lib /sbcimp/run/tp/sun/SUNWspro/v11/prod/bin /sbcimp/run/tp/IBM/MQSeries/v5.0/lib /opt/mqm/inc /sbcimp/run/tp/IBM/MQSeries/prod/lib /sbcimp/run/tp/IBM/MQSeries/prod /opt/mqm/lib
sldn0989dap>


sldn0989dap>
sldn0989dap> set LD_LIBRARY_PATH=/opt/mqm/lib
sldn0989dap>



sldn0989dap> !make
make -f Makefile_new
if [ ! -f mqSwift.hpp ]; then sccs get -s mqSwift.hpp -G mqSwift.hpp;fi;
if [ ! -f mqUtils.hpp ]; then sccs get -s mqUtils.hpp -G mqUtils.hpp;fi;
if [ ! -f mqTypes.hpp ]; then sccs get -s mqTypes.hpp -G mqTypes.hpp;fi;
if [ ! -f mqError.hpp ]; then sccs get -s mqError.hpp -G mqError.hpp;fi;
CC -mt -o bearAib2Mq bearAib2Mq.cpp mqUtils.o -I/sbcimp/run/tp/IBM/MQSeries/prod/inc -L/sbcimp/run/tp/IBM/MQSeries/prod/lib -limqb23as -limqc23as -lmqic -lmqmcs -lmqmzse -lsocket -lnsl -ldl -DSET_NEW_IDS -DNO_SWIFT_EOF -DALLOW_HEX_COUNT
"bearAib2Mq.cpp", line 140: Warning (Anachronism): Formal argument 2 of type extern "C" void(*)(int) in call to std::signal(int, extern "C" void(*)(int)) is being passed void(*)(int).
"bearAib2Mq.cpp", line 141: Warning (Anachronism): Formal argument 2 of type extern "C" void(*)(int) in call to std::signal(int, extern "C" void(*)(int)) is being passed void(*)(int).
"bearAib2Mq.cpp", line 142: Warning (Anachronism): Formal argument 2 of type extern "C" void(*)(int) in call to std::signal(int, extern "C" void(*)(int)) is being passed void(*)(int).
3 Warning(s) detected.
Undefined first referenced
symbol in file
xtr_FNC_retcode /lib/libimqb23as.so
xihProcessBlockIsInitialized /lib/libimqb23as.so
xihThreadKey /lib/libimqb23as.so
ld: fatal: Symbol referencing errors. No output written to bearAib2Mq
*** Error code 1
make: Fatal error: Command failed for target `bearAib2Mq'
sldn0989dap>

Can anybody pls help with the above symbol referencing errors.

Thanks.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0