openl2tp.org
http://forums.openl2tp.org/

Unable to MAKE on MIPS platform
http://forums.openl2tp.org/viewtopic.php?f=3&t=125
Page 1 of 1

Author:  pcresswell [ Mon Jan 20, 2014 8:43 pm ]
Post subject:  Unable to MAKE on MIPS platform

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

Author:  hit_god [ Sat Feb 08, 2014 4:32 pm ]
Post subject:  Re: Unable to MAKE on MIPS platform

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

Author:  pcresswell [ Sat Feb 08, 2014 5:10 pm ]
Post subject:  Re: Unable to MAKE on MIPS platform

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

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/