Compilation issues on freeradius-server v2.1.x for rlm_eap2
JustinP
justintphilip at gmail.com
Sat May 19 07:59:16 CEST 2012
Alan,
I had attached the error messages in the attachment of last message.
Its present in the make_output.txt
Snippet is :-
/usr/bin/make -w -C rlm_eap2 all
make[6]: Entering directory
`/home/rqwt36/system/freeradius_dev/freeradius-server/src/modules/rlm_eap2'
/home/rqwt36/system/freeradius_dev/freeradius-server/libtool
--mode=compile gcc
-I/home/rqwt36/system/freeradius_dev/freeradius-server
-I/home/rqwt36/system/freeradius_dev/freeradius-server/src -g -O2
-Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -g
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -Wundef
-I/home/rqwt36/system/freeradius_dev/freeradius-server/libltdl
-I/home/rqwt36/system/freeradius_dev/freeradius-server/src
-I/home/rqwt36/system/freeradius_dev/freeradius-server/libltdl
-I/home/rqwt36/hostap/hostap/src/eap_common
-I/home/rqwt36/hostap/hostap/src/eap_server
-I/home/rqwt36/hostap/hostap/src
-I/home/rqwt36/hostap/hostap/src/common
-I/home/rqwt36/hostap/hostap/src/utils -c rlm_eap2.c
mkdir .libs
gcc -I/home/rqwt36/system/freeradius_dev/freeradius-server
-I/home/rqwt36/system/freeradius_dev/freeradius-server/src -g -O2
-Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -g
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -Wundef
-I/home/rqwt36/system/freeradius_dev/freeradius-server/libltdl
-I/home/rqwt36/system/freeradius_dev/freeradius-server/src
-I/home/rqwt36/system/freeradius_dev/freeradius-server/libltdl
-I/home/rqwt36/hostap/hostap/src/eap_common
-I/home/rqwt36/hostap/hostap/src/eap_server
-I/home/rqwt36/hostap/hostap/src
-I/home/rqwt36/hostap/hostap/src/common
-I/home/rqwt36/hostap/hostap/src/utils -c rlm_eap2.c -fPIC -DPIC -o
.libs/rlm_eap2.o
In file included from /home/rqwt36/hostap/hostap/src/utils/wpa_debug.h:18,
from /home/rqwt36/hostap/hostap/src/utils/common.h:443,
from rlm_eap2.c:35:
/home/rqwt36/hostap/hostap/src/utils/wpabuf.h: In function 'wpabuf_set':
/home/rqwt36/hostap/hostap/src/utils/wpabuf.h:147: warning: cast
discards qualifiers from pointer target type
rlm_eap2.c: In function 'eap_authenticate':
rlm_eap2.c:910: warning: pointer targets in assignment differ in signedness
rlm_eap2.c:911: warning: pointer targets in assignment differ in signedness
gcc -I/home/rqwt36/system/freeradius_dev/freeradius-server
-I/home/rqwt36/system/freeradius_dev/freeradius-server/src -g -O2
-Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -g
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -Wundef
-I/home/rqwt36/system/freeradius_dev/freeradius-server/libltdl
-I/home/rqwt36/system/freeradius_dev/freeradius-server/src
-I/home/rqwt36/system/freeradius_dev/freeradius-server/libltdl
-I/home/rqwt36/hostap/hostap/src/eap_common
-I/home/rqwt36/hostap/hostap/src/eap_server
-I/home/rqwt36/hostap/hostap/src
-I/home/rqwt36/hostap/hostap/src/common
-I/home/rqwt36/hostap/hostap/src/utils -c rlm_eap2.c -o rlm_eap2.o
>/dev/null 2>&1
/home/rqwt36/system/freeradius_dev/freeradius-server/libtool
--mode=link gcc -release 2.2.0 \
-module -export-dynamic -o rlm_eap2 \
-rpath /usr/local/lib rlm_eap2.lo rlm_eap2.c
/home/rqwt36/system/freeradius_dev/freeradius-server/src/lib/libfreeradius-radius.la
/home/rqwt36/hostap/hostap/eap_example/libeap.so -lnsl -lresolv
-lpthread
libtool: link: warning: `-release' is ignored for programs
gcc -o .libs/rlm_eap2 .libs/rlm_eap2.o rlm_eap2.c
/home/rqwt36/hostap/hostap/eap_example/libeap.so -Wl,--export-dynamic
/home/rqwt36/system/freeradius_dev/freeradius-server/src/lib/.libs/libfreeradius-radius.so
-lnsl -lresolv -lpthread -Wl,--rpath -Wl,/usr/local/lib
rlm_eap2.c:23:36: error: freeradius-devel/ident.h: No such file or directory
rlm_eap2.c:24: error: expected declaration specifiers or '...' before
string constant
rlm_eap2.c:26:38: error: freeradius-devel/radiusd.h: No such file or directory
rlm_eap2.c:27:38: error: freeradius-devel/modules.h: No such file or directory
rlm_eap2.c:28:41: error: freeradius-devel/rad_assert.h: No such file
or directory
rlm_eap2.c:33:28: error: utils/includes.h: No such file or directory
I appreciate you help so far i understand this could be some issue
with my build environment.
you are most welcome to give this least priority.
On Fri, May 18, 2012 at 7:38 PM, Alan DeKok-2 [via FreeRadius]
<ml-node+s1045715n5711938h40 at n5.nabble.com> wrote:
> Justin Philip wrote:
>
>> So everything boils down to this command that is failing:-
>>
>> /home/rqwt36/freeradius/freeradius-server/libtool --mode=link gcc
>> -release 2.2.0 -module -export-dynamic -o rlm_eap2 -rpath
>> /usr/local/lib rlm_eap2.lo rlm_eap2.c
>> /home/rqwt36/freeradius/freeradius-server/src/lib/libfreeradius-radius.la
>> <http://libfreeradius-radius.la>
>> /home/rqwt36/hostap/hostap/eap_example/libeap.so -lnsl -lresolv -lpthread
>>
>> which spawn this command:-
>> gcc -o .libs/rlm_eap2 .libs/rlm_eap2.o rlm_eap2.c
>> /home/rqwt36/hostap/hostap/eap_example/libeap.so -Wl,--export-dynamic
>>
>> /home/rqwt36/freeradius/freeradius-server/src/lib/.libs/libfreeradius-radius.so
>> -lnsl -lresolv -lpthread -Wl,--rpath -Wl,/usr/local/lib
>> which fails.
>
> And you're not showing the error message.
>
> Don't you think it might be relevant?
>
> I'm sorry, but I don't have time to waste helping you. You're going
> out of your way to AVOID giving the information I need to help you.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/devel.html
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://freeradius.1045715.n5.nabble.com/Compilation-issues-on-freeradius-server-v2-1-x-for-rlm-eap2-tp5711734p5711938.html
> To unsubscribe from Compilation issues on freeradius-server v2.1.x for
> rlm_eap2, click here.
> NAML
--
Regards
Justin Philip
--
View this message in context: http://freeradius.1045715.n5.nabble.com/Compilation-issues-on-freeradius-server-v2-1-x-for-rlm-eap2-tp5711734p5712196.html
Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20120518/692908f0/attachment.html>
More information about the Freeradius-Devel
mailing list