Hi! I have certain issues compiling pppd in a fresh svn checkout from kamikaze 8.09rc1 and current svn r13619.
Here are steps to reproduce it (CWD is openwrt-tree): # rm -rf build_dir/*/ppp-* # make package/ppp/compile V=99 make[5]: Leaving directory `/.hostpart/user/joju/src/kamikaze-8.09-wl500gp/build_dir/mipsel/ppp-2.4.3/pppd/plugins/pppoatm' make[5]: Entering directory `/.hostpart/user/joju/src/kamikaze-8.09-wl500gp/build_dir/mipsel/ppp-2.4.3/pppd/plugins/radius' mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radius.o radius.c In file included from radius.c:32: ../../chap_ms.h:70: warning: '__packed__' attribute ignored ../../chap_ms.h:81: warning: '__packed__' attribute ignored mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o avpair.o avpair.c mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o buildreq.o buildreq.c mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o config.o config.c mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o dict.o dict.c mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o ip_util.o ip_util.c mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o clientid.o clientid.c mipsel-linux-uclibc-gcc -I. -I../.. -I../../../include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o sendserver.o sendserver.c sendserver.c: In function 'rc_random_vector': sendserver.c:493: error: '_PATH_DEV_URANDOM' undeclared (first use in this function) sendserver.c:493: error: (Each undeclared identifier is reported only once sendserver.c:493: error: for each function it appears in.) make[5]: *** [sendserver.o] Error 1 make[5]: Leaving directory `/.hostpart/user/joju/src/kamikaze-8.09-wl500gp/build_dir/mipsel/ppp-2.4.3/pppd/plugins/radius' make[4]: *** [all] Error 2 make[4]: Leaving directory `/.hostpart/user/joju/src/kamikaze-8.09-wl500gp/build_dir/mipsel/ppp-2.4.3/pppd/plugins' make[3]: *** [all] Error 2 make[3]: Leaving directory `/.hostpart/user/joju/src/kamikaze-8.09-wl500gp/build_dir/mipsel/ppp-2.4.3' make[2]: *** [/.hostpart/user/joju/src/kamikaze-8.09-wl500gp/build_dir/mipsel/ppp-2.4.3/.built] Error 2 make[2]: Leaving directory `/.hostpart/user/joju/src/kamikaze-8.09-wl500gp/package/ppp' make[1]: *** [package/ppp/compile] Error 2 make[1]: Leaving directory `/.hostpart/user/joju/src/kamikaze-8.09-wl500gp' make: *** [package/ppp/compile] Error 2 >From the source you can see, that in >ppp-2.4.3/pppd/plugins/radius/sendserver.c, that there is a problem in the C-include search path. A quick fix is to adapt the failing line to the current C-include path. The patch attached fixes it in that way. cya -- Joerg Jungermann ------------------------------------------------------------ Rechnerbetrieb Mathematik | IT Security - Netzwerke, Linux Universitaet-Paderborn | Embedded Devices, Typo3
Index: package/ppp/patches/211-radius-sendserver-fix.patch =================================================================== --- package/ppp/patches/211-radius-sendserver-fix.patch (revision 0) +++ package/ppp/patches/211-radius-sendserver-fix.patch (revision 0) @@ -0,0 +1,11 @@ +--- ppp-2.4.3.orig/pppd/plugins/radius/sendserver.c 2004-11-14 08:26:26.000000000 +0100 ++++ ppp-2.4.3/pppd/plugins/radius/sendserver.c 2008-12-13 13:47:31.148710712 +0100 +@@ -16,7 +16,7 @@ + + #include <includes.h> + #include <radiusclient.h> +-#include <pathnames.h> ++#include "pathnames.h" + + static void rc_random_vector (unsigned char *); + static int rc_check_reply (AUTH_HDR *, int, char *, unsigned char *, unsigned char);
_______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
