bug-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnu-radius] make error


From: d.henman
Subject: [Bug-gnu-radius] make error
Date: Mon, 09 Feb 2009 10:14:56 +0900

Sergey, et al,

I have run into what I believe my be a configure related logic bug, but am not 
sure.

An attempt to "make" produces the following error messages..

--------   make error output
....
Making all in radiusd
make[2]: Entering directory `/usr/src/radius/radius-1.6.1/radiusd'
make  all-am
make[3]: Entering directory `/usr/src/radius/radius-1.6.1/radiusd'
/usr/local/bin/gcc -g -O2 -I/usr/local/include   radiusd.c   -o radiusd
radiusd.c:34:21: error: radiusd.h: No such file or directory
radiusd.c:35:28: error: radius/radargp.h: No such file or directory
radiusd.c:36:28: error: radius/radutmp.h: No such file or directory
radiusd.c:37:26: error: radius/argcv.h: No such file or directory
radiusd.c:38:21: error: rewrite.h: No such file or directory
radiusd.c:39:23: error: snmp/asn1.h: No such file or directory
radiusd.c:40:23: error: snmp/snmp.h: No such file or directory
radiusd.c:41:21: error: timestr.h: No such file or directory
radiusd.c:43: error: expected ',' or ';' before 'PACKAGE'
radiusd.c:44: error: invalid initializer
radiusd.c:49: error: array type has incomplete element type
radiusd.c:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'radiusd_user'
radiusd.c:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'exec_user'
radiusd.c:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'*' token
-------- end of error output paste


The needed include ".h" files do exist however within the package dir structure.

I note that the line in the error message above, 
"/usr/local/bin/gcc -g -O2 -I/usr/local/include   radiusd.c   -o radiusd"

does not contain the package local include directories.

Looking the the configure code, there is reference to $(top_srcdir)  
$(top_builddir) and I don't believe they are getting set properly.

Or possibly, that the RADIUS_INCLUDE_PATH variable is not being set completely.

I am wondering if this is a possible configure type error that may be 
overlooked for
when building radius on a "clean system", meaning a system with no previous 
radius include files loaded in /usr/include ... or due to my cygwin platform?

Any help or suggestions is appreciated.

Regards,
   Darel Henman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]