Build error
Status: Alpha
Brought to you by:
coroberti
|
From: Aleksandar L. <al-...@no...> - 2008-06-08 20:37:48
|
Hi all,
today I got a complilation error, here the problem report:
CURL-LOADER VERSION: 0.45
HW DETAILS: CPU/S and memory are must: attached the dmidecode output
LINUX DISTRIBUTION and KERNEL (uname -r): 2.6.25-gentoo-r3
GCC VERSION (gcc -v):
###
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.2.4/work/gcc-4.2.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.2.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.4 (Gentoo 4.2.4 p1.0)
###
COMPILATION AND MAKING OPTIONS (if defaults changed):
COMMAND-LINE: make
CONFIGURATION-FILE (The most common source of problems):
Place the file inline here:
DOES THE PROBLEM AFFECT:
COMPILATION? Yes
LINKING? No
EXECUTION? No
OTHER (please specify)?
Have you run $make cleanall prior to $make ? Yes
DESCRIPTION:
###
gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 -D_FILE_OFFSET_BITS=64 -g -I. -I./inc -I/usr//include -c -o obj/ip_secondary.o ip_secondary.c
ip_secondary.c: In function 'get_integer':
ip_secondary.c:309: error: 'INT_MAX' undeclared (first use in this function)
ip_secondary.c:309: error: (Each undeclared identifier is reported only once
ip_secondary.c:309: error: for each function it appears in.)
ip_secondary.c:309: error: 'INT_MIN' undeclared (first use in this function)
make: *** [obj/ip_secondary.o] Error 1
###
QUESTION/ SUGGESTION/ PATCH:
add '#include <limits.h>' into ip_secondary.c as last included file |