Operating System - Linux
1828305 Members
3188 Online
109975 Solutions
New Discussion

strtoll identifier undefined

 
Ravinder Kaul
Advisor

strtoll identifier undefined

I am trying to compile gsoap 2.7.10 on hpux11.23 using aCC . While compiling I get the following error

aCC -DHAVE_CONFIG_H -I. -I.. -DHP_UX -g -c -o libgsoap___a-stdsoap2_cpp.o `test -f 'stdsoap2_cpp.cpp' || echo './'`stdsoap2_cpp.cpp
"stdsoap2_cpp.cpp", line 9301: error #2020: identifier "strtoll" is undefined
*p = strtoll(s, &r, 10);
^

"stdsoap2_cpp.cpp", line 10014: error #2020: identifier "soap_strtoull" is
undefined
*p = soap_strtoull(s, &r, 10);
^

2 errors detected in the compilation of "stdsoap2_cpp.cpp".

Also attached is the Makefile
Any help to resolve this will be appreciated
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: strtoll identifier undefined

The man page says strtoll is in:
#include

Where soap_strtoull is probably created by some macro game.

>Also attached is the Makefile

This is pretty useless. A .i would be more helpful. (Compile with -E -.i.)