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 

How to compile in snapgear?

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



Joined: 09 Jul 2007
Posts: 2

PostPosted: Tue Jul 31, 2007 5:50 am    Post subject: How to compile in snapgear? Reply with quote

Hi sir:

My environment is the latest snapgear version. I re-write Makefile like this:
Code:

SRCS = igd_desc_parse.c miniupnpc.c minixml.c minisoap.c miniwget.c \
       upnpc.c upnpcommands.c upnpreplyparse.c

OBJS = $(patsubst %.c,%.o,$(SRCS))

EXEC = upnpc

all: $(EXEC)

$(EXEC): $(OBJS)
  $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)

romfs:
  $(ROMFSINST)  /bin/$(EXEC)

clean:
  -rm -f $(EXEC) *.elf *.gdb *.o


But,when I boot my IXP425 board and run upnpc, the system show "
libc.so.6: aborted attempt to load ./upnpc!".

Maybe you has some experiences on this. Thanks.
Back to top
View user's profile Send private message
show



Joined: 09 Jul 2007
Posts: 2

PostPosted: Tue Jul 31, 2007 8:05 am    Post subject: Reply with quote

Sorry sir,I find this Makefile is OK.
I copy the wrong image and make the error.
Now is OK.

Thanks.
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.