Hello
recently i magrated my server from SLES10 SLES11.2, gcc copmlier 4.3.4&binutils 2.21. when i am doing builds i am getting errors as atoi,setenv,etc was not declared in the scope and one more error Unrecognized option “–build id”.
g++ /home/ismdev/sources/cfsw/source/wscafl02.cpp -c -o /home/ismdev/builds/sap/build/wscafl02.o -fexceptions -DTRACE -DCFSW -DSAP -DWEB -DCFSWEB_LINUX2VM -DCFSWEB_SWNT_SAP -DCFSWEB_SAVERESTORE -m32 -ggdb -DCOMPILER_MIGRATION -DISPF_EXCLUDE -I/home/ismdev/sources/cfsw/include -I/home/ismdev/sources/cfsw/components/logclient/include -I/home/ismdev/sources/ispf_emulator/include -I/home/ismdev/sources/wscapi/include -I/home/ismdev/sources/crf/include -I/usr/include/libxml2 -I/usr/include/curl
/home/ismdev/sources/cfsw/source/wscafl02.cpp: In member function âRESULT WSCAFL02_FileUploadPanel::CheckAuthorization()â:
/home/ismdev/sources/cfsw/source/wscafl02.cpp:1849: error: âgetenvâ was not declared in this scope
/home/ismdev/sources/cfsw/source/wscafl02.cpp:1849: error: âsetenvâ was not declared in this scope
/home/ismdev/sources/cfsw/source/wscafl02.cpp:1926: error: âatoiâ was not declared in this scope
/home/ismdev/sources/cfsw/source/wscafl02.cpp:1942: error: âatoiâ was not declared in this scope
/home/ismdev/sources/cfsw/source/wscafl02.cpp:1954: error: âfreeâ was not declared in this scope
/home/ismdev/sources/cfsw/source/wscafl02.cpp:2007: error: âatoiâ was not declared in this scope
/home/ismdev/sources/cfsw/source/wscafl02.cpp:2013: error: âfreeâ was not declared in this scope
/home/ismdev/sources/cfsw/source/wscafl02.cpp: In member function âRESULT WSCAFL02_FileUploadPanel::CheckAuthCFReportRestore()â:
/home/ismdev/sources/cfsw/source/wscafl02.cpp:2142: error: âatoiâ was not declared in this scope
make[2]: *** [/home/ismdev/builds/sap/build/wscafl02.o] Error 1
g++ -o /home/ismdev/builds/sap/build/ismcache.module /home/ismdev/builds/sap/build/wsconfig.o /home/ismdev/builds/sap/build/settings_manager.o /home/ismdev/builds/sap/build/wscwmqc.o /home/ismdev/builds/sap/build/cmqasync.o /home/ismdev/builds/sap/build/wscwrdcc.o -L/home/ismdev/builds/sap/build -L/home/ismdev/builds/wscapi/build -L/home/ismdev/builds/ispf/build -L/home/ismdev/builds/sap/build -Xlinker -( -lwsc135 -lwscx10a -lwscx10b -lwscx10c -lwscp10a -lwscp10b -lwscp10c -lwscp10d -lwscv10 -lwscv111a -lwscv111b -lwscv111c -lwscegg -lwscu10 -lwscde10 -lwscd10a -lwscgl10a -lwscgl10b -lwscgl10c -lwscli10 -lwscna10 -lwscpr10 -lwscse10 -lwscva10 -lwscr10a -lwscr10b -lwscr10c -lwscaci10 -lwscrsap -lwscw10 -lapit -lispf -lpanel -lform -lncurses -lcurl -lxml2 -lssl -lmqic -lsapnt -Xlinker -) -m32 -Xlinker --export-dynamic
/usr/lib64/gcc/x86_64-suse-linux/4.3/…/…/…/…/x86_64-suse-linux/bin/ld: unrecognized option ‘–build-id’
/usr/lib64/gcc/x86_64-suse-linux/4.3/…/…/…/…/x86_64-suse-linux/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[1]: *** [ismcache.module] Error 1