Opened 13 years ago
Closed 13 years ago
#68 closed defect (fixed)
Compilation error rasmgr_srv.hh ARG_MAX not declared
Reported by: | Owned by: | Dimitar Misev | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | rasmgr | Version: | |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
Compilation stops at rasmgr/rasmgr_host.cc with the next error message:
In file included from rasmgr_host.cc:35:0:
rasmgr_srv.hh:116:31: error: 'ARG_MAX' was not declared in this scope
rasmgr_srv.hh:121:31: error: 'ARG_MAX' was not declared in this scope
rasmgr_srv.hh:123:35: error: 'ARG_MAX' was not declared in this scope
make[1]: * [rasmgr_host.o] Error 1
Change History (3)
comment:1 by , 13 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
comment:2 by , 13 years ago
I'm compiling in Slackware 13.37 32-bits
bash-4.1$ uname -a Linux geoigb034504lx 2.6.37.6-smp #2 SMP Sat Apr 9
23:39:07 CDT 2011 i686 Intel® Core™2 Duo CPU E8400 @ 3.00GHz
GenuineIntel GNU/Linux
bash-4.1$
gcc version:
bash-4.1$ gcc -v
Reading specs from
/usr/lib/gcc/i486-slackware-linux/4.5.2/specs COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-slackware-linux/4.5.2/lto-wrapper
Target: i486-slackware-linux Configured with: ../gcc-4.5.2/configure
—prefix=/usr —libdir=/usr/lib —mandir=/usr/man —infodir=/usr/info
—enable-shared —enable-bootstrap
—enable-languages=ada,c,c++,fortran,java,objc,lto
—enable-threads=posix —enable-checking=release —with-system-zlib
—with-python-dir=/lib/python2.6/site-packages
—disable-libunwind-exceptions —enable-cxa_atexit —enable-libssp
—enable-lto —with-gnu-ld —verbose —with-arch=i486
—target=i486-slackware-linux —build=i486-slackware-linux
—host=i486-slackware-linux Thread model: posix gcc version 4.5.2 (GCC)
bash-4.1$
Compilation line:
bash-4.1$ ./configure —with-hdf4=/usr/local
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
ARG_MAX comes from
#include <linux/limits.h> // ARG_MAX
Please check if this file is on your system. On Debian/Ubuntu it comes from the linux-libc-dev
package, you need to install the appropriate package for Slackware.
Can you please give us some more information: