miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

miniSSDPd 1.3 for OpenWRT fails to compile

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
avbohemen



Joined: 22 Oct 2012
Posts: 3

PostPosted: Sat Dec 27, 2014 2:51 pm    Post subject: miniSSDPd 1.3 for OpenWRT fails to compile Reply with quote

I am trying to build miniSSDPd 1.3 for OpenWRT (cross-compile for ar71xx device), and I get the following error:

Code:
make[4]: Entering directory `/home/anton/openwrt/archerc7/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/minissdpd-1.3'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16   -c -o asyncsendto.o asyncsendto.c
asyncsendto.c: In function 'send_from_to':
asyncsendto.c:59:22: error: storage size of 'ipi6' isn't known
   struct in6_pktinfo ipi6;
                      ^
make[4]: *** [asyncsendto.o] Error 1

I noticed that the previous version (1.2.20141204) needs a dependency on libnfnetlink, am I missing another dependency here, or is it something else? The compiler is gcc version 4.9.2 (OpenWrt/Linaro GCC 4.9-2014.10)
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1594

PostPosted: Wed Dec 31, 2014 12:29 am    Post subject: Reply with quote

I think you need -D_GNU_SOURCE
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
avbohemen



Joined: 22 Oct 2012
Posts: 3

PostPosted: Fri Jan 02, 2015 4:33 pm    Post subject: Reply with quote

Yes, that's it, thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.