I'll test in the evening and let you know > -----Original Message----- > From: [email protected] [mailto:openwrt-users- > [email protected]] On Behalf Of Mickael Chazaux > Sent: Tuesday, January 10, 2012 11:04 AM > To: OpenWrt User List > Subject: Re: [OpenWrt-Users] PIM routing on OpenWRT > > Hi, > > 2012/1/9 shift <[email protected]>: > > Ok, seems that you were right, it was not cross compiled, so I've > > updated makefile with CC and LD. Resulting ipk file was successfuly > > compiled and successfully installed on OpenWRT platform, so it seems > > that everything is ok (so far). Well, at least I have the same output > > when I run pimd on both > > versions: crosscompiled and compiled in SDK. Only one thing, with this > > new Makefile I'm getting warnings: > > make[3]: Entering directory > > `/home/darius/openwrt/backfire/build_dir/target-mips_r2_uClibc- > 0.9.30.1/pimd-2.1.8' > > CC igmp.o > > igmp.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC igmp_proto.o > > igmp_proto.c:1: note: someone does not honour COPTS correctly, passed > > 0 times > > CC trace.o > > trace.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC inet.o > > inet.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC kern.o > > kern.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC main.o > > main.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC config.o > > config.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC debug.o > > debug.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC netlink.o > > netlink.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC routesock.o > > routesock.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC vers.o > > vers.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC callout.o > > callout.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC route.o > > route.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC vif.o > > vif.c:1: note: someone does not honour COPTS correctly, passed 0 times > > CC timer.o > > timer.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC mrt.o > > mrt.c:1: note: someone does not honour COPTS correctly, passed 0 times > > CC pim.o > > pim.c:1: note: someone does not honour COPTS correctly, passed 0 times > > CC pim_proto.o > > pim_proto.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC rp.o > > rp.c:1: note: someone does not honour COPTS correctly, passed 0 times > > CC dvmrp_proto.o > > dvmrp_proto.c:1: note: someone does not honour COPTS correctly, passed > > 0 times > > CC rsrr.o > > rsrr.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC strlcpy.o > > strlcpy.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > CC pidfile.o > > pidfile.c:1: note: someone does not honour COPTS correctly, passed 0 > > times > > LINK pimd > > > > As I understand it notes me that CC and LD was overwritten instead on > > appending. But append can't be made to these variables in this case as > > I exacly need what I enntered in LD and CC. So I think these warnings > > I can ignore. What do you think ? > > > > Reading this [1] it looks like you are not setting the openWRT's CFLAGS for > the compilation but use the PIMD defaults. Reading the PIMD makefile, I'd > suggest to add this at the end of your $(MAKE) line : > > USERCOMPILE="$TARGET_CFLAGS" > > [1] : > http://webcache.googleusercontent.com/search?q=cache:oaM8mKqvC8EJ: > https://forum.openwrt.org/viewtopic.php%3Fid%3D25306+ > > Please correct if I'm wrong, > > Mickael > _______________________________________________ > openwrt-users mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-users
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
