how to get rid off the warning: CC: Warning: Option -ptr not supported?


 
Thread Tools Search this Thread
Operating Systems Solaris how to get rid off the warning: CC: Warning: Option -ptr not supported?
# 1  
Old 01-10-2012
Error how to get rid off the warning: CC: Warning: Option -ptr not supported?

Hi I am getting the below error

/bin/mkdir -p ./obj/SunOS10_32/SingleThread/Debug/CC_5_3
/bin/mkdir -p ./bin/SunOS10_32/SingleThread/Debug/CC_5_3
CC -c -ptr./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -V -I/opt/tuxedo/tuxedo11gR1/include -I. -I../../OBED_SA_1-27a/include -I../../OBED_EDI_2-26/include -I../../OBED_QFPROF_PACK_1-7/include -I../../OBED_MSGHL_3-1/include -I/opt/SUNWspro/prod//include -I../../OBED_CFC_2-1/include -D_AMD_UNIX_ -D_AMD_ENV_32_ -D_AMD_UNIX_SOLARIS_ -D_AMD_UNIX_SOLARIS_10_ -o obj/SunOS10_32/SingleThread/Debug/CC_5_3/EdiQFPROFTest.o EdiQFPROFTest.cpp
CC: Warning: Option -ptr not supported
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-25 2010/08/24
ccfe: Sun C++ 5.9 SunOS_sparc Patch 124863-25 2010/08/24
"../../OBED_MSGHL_3-1/include/UP_Trace.H", line 224: 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).
1 Warning(s) detected.
CC=" CC" CFLAGS=" " TUXDIR="/opt/tuxedo/tuxedo11gR1" LD_LIBRARY_PATH="/opt/tuxedo/tuxedo11gR1/lib" export CC CFLAGS TUXDIR LD_LIBRARY_PATH ; /opt/tuxedo/tuxedo11gR1/bin/buildserver -v -o bin/SunOS10_32/SingleThread/Release/CC_5_3/SABackEnd -s SABACKEND -f "./obj/SunOS10_32/SingleThread/Debug/CC_5_3/EdiQFPROFTest.o -L./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -Bstatic -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_QFPROF_PACK_1-7/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lQFPROFedidef -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_TCP_PACK_2-2/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ltcpsocketlight -L../../OBED_MSGHL_3-1/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lmsghl -Bdynamic -ptr./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -L/opt/SUNWspro/prod/lib -lCstd -lposix4 "
CC -w -mt -I$TUXDIR/include -o bin/SunOS10_32/SingleThread/Release/CC_5_3/SABackEnd BS-58ef.c -L${TUXDIR}/lib ./obj/SunOS10_32/SingleThread/Debug/CC_5_3/EdiQFPROFTest.o -L./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -Bstatic -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_QFPROF_PACK_1-7/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lQFPROFedidef -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_TCP_PACK_2-2/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ltcpsocketlight -L../../OBED_MSGHL_3-1/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lmsghl -Bdynamic -ptr./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -L/opt/SUNWspro/prod/lib -lCstd -lposix4 -ltux -lbuft -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl -lm -lnsl -lsocket
CC: Warning: Option -ptr not supported
echo ./obj/SunOS10_32/SingleThread/Debug/CC_5_3/EdiQFPROFTest.o
./obj/SunOS10_32/SingleThread/Debug/CC_5_3/EdiQFPROFTest.o
CC=" CC" CFLAGS=" " TUXDIR="/opt/tuxedo/tuxedo11gR1" LD_LIBRARY_PATH="/opt/tuxedo/tuxedo11gR1/lib" export CC CFLAGS TUXDIR LD_LIBRARY_PATH ; /opt/tuxedo/tuxedo11gR1/bin/buildserver -v -o bin/SunOS10_32/SingleThread/Debug/CC_5_3/SABackEnd -s SABACKEND -f "./obj/SunOS10_32/SingleThread/Debug/CC_5_3/EdiQFPROFTest.o -L./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -Bstatic -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_QFPROF_PACK_1-7/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lQFPROFedidef -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_TCP_PACK_2-2/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ltcpsocketlight -L../../OBED_MSGHL_3-1/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lmsghl -Bdynamic -ptr./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -L/opt/SUNWspro/prod/lib -lCstd -lposix4 "
CC -w -mt -I$TUXDIR/include -o bin/SunOS10_32/SingleThread/Debug/CC_5_3/SABackEnd BS-590b.c -L${TUXDIR}/lib ./obj/SunOS10_32/SingleThread/Debug/CC_5_3/EdiQFPROFTest.o -L./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -Bstatic -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_QFPROF_PACK_1-7/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lQFPROFedidef -L../../OBED_EDI_2-26/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ledi -L../../OBED_SA_1-27a/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lSA -L../../OBED_TCP_PACK_2-2/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -ltcpsocketlight -L../../OBED_MSGHL_3-1/lib/SunOS10_32/SingleThread/Debug/CC_5_3 -lmsghl -Bdynamic -ptr./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -L/opt/SUNWspro/prod/lib -lCstd -lposix4 -ltux -lbuft -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl -lm -lnsl -lsocket
CC: Warning: Option -ptr not supported

Have anyone seen this kind of error? any suggestions?
# 2  
Old 01-10-2012
Just remove the "-ptr" option from your Makefile or similar compilation procedure.

C H A P T E R 6 - Workarounds for 4.0, 4.1, and 4.2 Compilers
This User Gave Thanks to jlliagre For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting rid of "Warning: no access to tty....

So I have been submitting a lot of pbs jobs using the qsub command: qsub -l nodes=1: ppn=1,walltime=4:00:00 run.csh and everything works perfect except that I get the following error at the top of each output file: Warning: no access to tty (Bad file descriptor). Thus no job control in this... (0 Replies)
Discussion started by: pattywac
0 Replies
Login or Register to Ask a Question