make error

View: New views
2 Messages — Rating Filter:   Alert me  

make error

by d.henman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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


_______________________________________________
Bug-gnu-radius mailing list
Bug-gnu-radius@...
http://lists.gnu.org/mailman/listinfo/bug-gnu-radius

Re: make error

by Sergey Poznyakoff-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

d.henman <dhenman@...> ha escrit:

> 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?

Looks like a configure bug on cygwin. Check if RADIUS_INCLUDE_PATH is
defined (grep RADIUS_INCLUDE_PATH config.log and grep
RADIUS_INCLUDE_PATH config.status).

Regards,
Sergey


_______________________________________________
Bug-gnu-radius mailing list
Bug-gnu-radius@...
http://lists.gnu.org/mailman/listinfo/bug-gnu-radius