It is currently Mon Sep 25, 2017 11:24 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Unable to MAKE on MIPS platform
PostPosted: Mon Jan 20, 2014 8:43 pm 

Joined: Mon Jan 20, 2014 8:39 pm
Posts: 3
Hello,

I'm quite new to all flavours of Linux, but am trying to build openl2tp on a MIPS platform. Specifically a Ubiquiti EdgeRouterLite.

I have now installed build-essential, flex and bison packages to support the build, but am now getting the following errors:

Code:
root@ubnt:/home/ubnt/openl2tp/openl2tp-1.8# make           
make -C usl  EXTRA_CFLAGS="  -DL2TP_ASYNC_RPC"
make[1]: Entering directory `/home/ubnt/openl2tp/openl2tp-1.8/usl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ubnt/openl2tp/openl2tp-1.8/usl'
make -C cli  EXTRA_CFLAGS="  -DL2TP_ASYNC_RPC"
make[1]: Entering directory `/home/ubnt/openl2tp/openl2tp-1.8/cli'
gcc -c -O -MMD -Wall -Werror -I..  cli_lib.c -o cli_lib.o
cli_lib.c:24:31: error: readline/readline.h: No such file or directory
cli_lib.c:25:30: error: readline/history.h: No such file or directory
cc1: warnings being treated as errors
cli_lib.c: In function 'cli_stuff_args':
cli_lib.c:197: error: implicit declaration of function 'strlen'
cli_lib.c:197: error: incompatible implicit declaration of built-in function 'strlen'
cli_lib.c: In function 'cli_redirect_io':
cli_lib.c:216: error: 'rl_instream' undeclared (first use in this function)
cli_lib.c:216: error: (Each undeclared identifier is reported only once
cli_lib.c:216: error: for each function it appears in.)
cli_lib.c:217: error: 'rl_outstream' undeclared (first use in this function)
cli_lib.c: In function 'cli_find_node':
cli_lib.c:297: error: incompatible implicit declaration of built-in function 'strlen'
cli_lib.c:305: error: implicit declaration of function 'index'
cli_lib.c:305: error: incompatible implicit declaration of built-in function 'index'
cli_lib.c:311: error: implicit declaration of function 'strncasecmp'
cli_lib.c: In function 'cli_find_args':
cli_lib.c:417: error: incompatible implicit declaration of built-in function 'index'
cli_lib.c: In function 'cli_execute':
cli_lib.c:454: error: incompatible implicit declaration of built-in function 'strlen'
cli_lib.c: In function 'cli_arg_parse_bool':
cli_lib.c:609: error: implicit declaration of function 'strcasecmp'
cli_lib.c: In function 'cli_arg_parse_hex':
cli_lib.c:677: error: incompatible implicit declaration of built-in function 'strlen'
make[1]: *** [cli_lib.o] Error 1
make[1]: Leaving directory `/home/ubnt/openl2tp/openl2tp-1.8/cli'
make: *** [subdir-cli] Error 2
root@ubnt:/home/ubnt/openl2tp/openl2tp-1.8#




Has anyone else sucessfully built the package on a MIPS platform? Should it be possible? Any suggestions?

Many thanks,

Pete


Top
 Profile  
 
 Post subject: Re: Unable to MAKE on MIPS platform
PostPosted: Sat Feb 08, 2014 4:32 pm 

Joined: Sat Feb 08, 2014 4:24 pm
Posts: 1
hi,I also have this problem,that's drive me mad.
if you figure it out,please tell me how to do it,many thanks


Top
 Profile  
 
 Post subject: Re: Unable to MAKE on MIPS platform
PostPosted: Sat Feb 08, 2014 5:10 pm 

Joined: Mon Jan 20, 2014 8:39 pm
Posts: 3
Hi,

Sorry I have still not found a solution to this... Yes it's very frustrating, my only option I can find so far is to buy an x86 hardware device, but they are both more expensive and slower so I don't really want to do that.

Peter


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


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 post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group