![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
| Display Modes | Rate This Thread |
|
|