Server Help

ASSS Questions - Compiling ASSS (another problem)

Initrd.gz - Thu Mar 26, 2009 6:41 pm
Post subject: Compiling ASSS (another problem)
I am having trouble compiling ASSS on one of my machines. Here is what I get:
Code: Show/Hide

gcc -std=gnu99 -pipe -I. -Iinclude -I../build  -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall   -c -o ../build/admincmd.o core/admincmd.c
core/admincmd.c: In function ?Cdelfile?:
core/admincmd.c:63: error: ?PATH_MAX? undeclared (first use in this function)
core/admincmd.c:63: error: (Each undeclared identifier is reported only once
core/admincmd.c:63: error: for each function it appears in.)
core/admincmd.c:63: warning: unused variable ?path?
core/admincmd.c:63: warning: unused variable ?wd?
core/admincmd.c: In function ?Crenfile?:
core/admincmd.c:85: error: ?PATH_MAX? undeclared (first use in this function)
core/admincmd.c:85: warning: unused variable ?newpath?
core/admincmd.c:85: warning: unused variable ?oldpath?
core/admincmd.c:85: warning: unused variable ?wd?
core/admincmd.c: In function ?Cgetfile?:
core/admincmd.c:124: error: ?PATH_MAX? undeclared (first use in this function)
core/admincmd.c:124: warning: unused variable ?path?
core/admincmd.c:124: warning: unused variable ?wd?
core/admincmd.c: In function ?Cputfile?:
core/admincmd.c:241: error: ?PATH_MAX? undeclared (first use in this function)
core/admincmd.c:241: warning: unused variable ?serverpath?
core/admincmd.c:241: warning: unused variable ?wd?
core/admincmd.c: In function ?Cputzip?:
core/admincmd.c:288: error: ?PATH_MAX? undeclared (first use in this function)
core/admincmd.c:288: warning: unused variable ?serverpath?
core/admincmd.c:288: warning: unused variable ?wd?
core/admincmd.c: In function ?Cpwd?:
core/admincmd.c:379: error: ?PATH_MAX? undeclared (first use in this function)
core/admincmd.c:379: warning: unused variable ?wd?
make: *** [../build/admincmd.o] Error 1
The ? is supposed to be a ", I think thats a problem with my SSH terminal.

I believe I had this problem before, but I forgot how to solve it. icon_confused.gif
Dr Brain - Thu Mar 26, 2009 6:59 pm
Post subject:
The admincmd.c has a missing include of limits.h. Add #include <limits.h> near the top of admincmd.c and it should compile.

This is a known bug and will be fixed as a part of the 1.5.0 release, whenever that may be.
Initrd.gz - Thu Mar 26, 2009 8:55 pm
Post subject:
Dr Brain wrote:
This is a known bug and will be fixed as a part of the 1.5.0 release, whenever that may be.


Doubt any time soon... icon_sad.gif

Ah well problem solved. Thanks icon_smile.gif

Edit: maybe when Continuum .42/whatever comes out.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group