[Olsr-users] Compile olsr for mips

ANDERSON JUNIOR GADO DA SILVA (spam-protected)
Mon Jan 27 16:42:24 CET 2014


Good afternoon, friends, after many trials and errors, I sought information on
the Internet about the RTL8186, is an old, weak and ja chip, so I scrapped this
router, unfortunately I will have to postpone my deployment olsr, I'll
change all devices by tp-link models that support openwrt, but unfortunately it
will take a bit, more than 250 devices, meanwhile'm going slowly, I am
already working with openwrt on a tL-WR1043ND tP-link, I'll start studying
the olsr soon, friends could show me some document for a beginner to start
studies?

Att
Anderson Junior


2014-01-22 ANDERSON JUNIOR GADO DA SILVA <(spam-protected)>

> Good morning , gentlemen , I'm trying to compile my olsr RTL8186 chip so
> far without success but I'm confident in the way until now had to solve a
> lot of dependencies as MIPS64 -linux -gnu - gcc , binutils - MIPS64 -linux
> -gnu , glibc -devel among other items on my linux , I am very confident
> that the work is next to succeed , also changed the make / MakeFile.linux
> adding at the end of the file CC = MIPS64 -linux -gnu - gcc line, found by
> searching the internet to compile for mips that it was necessary to do
> this , now appears when trying to compile the following error :
>
> src / unix / misc.c : 42:19 : fatal error: stdio.h : File or directory not
> found
> compilation terminated .
> In file included from src / unix / / olsr_cfg.h : . . 45:0 ,
>                  from src / unix / log.c : 46 :
> src / unix / / olsr_types.h : . . 63:22 : fatal error: inttypes.h : File
> or directory not found
> compilation terminated .
> In file included from src / unix / ifnet.c : 46:0 :
> src / ifnet.h : 51:23 : fatal error: arpa / inet.h : File or directory not
> found
> compilation terminated .
> In file included from src / linux / / net_os.h : . . 52:0 ,
>                  from src / linux / net.c : 49 :
> src / linux / / olsr_types.h : . . 63:22 : fatal error: inttypes.h : File
> or directory not found
> compilation terminated .
> In file included from src / linux / kernel_tunnel.c : 44:0 :
> src / kernel_tunnel.h : 11:20 : fatal error: net / if.h : File or
> directory not found
> compilation terminated .
> In file included from src / kernel_routes.h : 45:0 ,
>                  from src / linux / kernel_routes_nl.c : 44 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / linux / apm.c : 50:0 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / two_hop_neighbor_table.h : 45:0 ,
>                  from src / two_hop_neighbor_table.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / tc_set.h : 46:0 ,
>                  from src / tc_set.c : 43 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / scheduler.h : 48:0 ,
>                  from src / scheduler.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / routing_table.c : 43:0 :
> src / routing_table.h : 46:23 : fatal error: sys / types.h : File or
> directory not found
> compilation terminated .
> In file included from src / olsr_protocol.h : 52:0 ,
>                  from src / rebuild_packet.h : 45
>                  from src / rebuild_packet.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / ipcalc.h : 45:0 ,
>                  from src / process_routes.c : 46 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / olsr_protocol.h : 52:0 ,
>                  from src / process_package.h : 45
>                  from src / process_package.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / olsr_protocol.h : 52:0 ,
>                  from src / olsr.h : 45
>                  from src / plugin_util.c : 44 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / plugin_loader.h : 46:0 ,
>                  from src / plugin_loader.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / olsr_protocol.h : 52:0 ,
>                  from src / parser.h : 45 ,
>                  from src / parser.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / ipcalc.h : 45:0 ,
>                  from src / packet.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / ipcalc.h : 45:0 ,
>                  from src / olsr_spf.c : 54 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / olsr_niit.c : 8:0 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / olsr_protocol.h : 52:0 ,
>                  from src / olsr.h : 45
>                  from src / olsr_cookie.c : 41 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / olsr.c : 46:0 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / net_olsr.h : 45:0 ,
>                  from src / net_olsr.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / ipcalc.h : 45:0 ,
>                  from src / neighbor_table.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / ipcalc.h : 45:0 ,
>                  from src / mpr_selector_set.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / ipcalc.h : 45:0 ,
>                  from src / mpr.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> src / mid_set.c : 41:20 : fatal error: assert.h : File or directory not
> found
> compilation terminated .
> In file included from src / mantissa.h : 45:0 ,
>                  from src / mantissa.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> src / main.c : 41:23 : fatal error: arpa / inet.h : File or directory not
> found
> compilation terminated .
> In file included from src / tc_set.h : 46:0 ,
>                  from src / lq_plugin_default_fpm.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / tc_set.h : 46:0 ,
>                  from src / lq_plugin_default_float.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / tc_set.h : 46:0 ,
>                  from src / lq_plugin_default_ffeth.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / tc_set.h : 46:0 ,
>                  from src / lq_plugin_default_ff.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / tc_set.h : 46:0 ,
>                  from src / lq_plugin.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> src / lq_packet.c : 44:20 : fatal error: assert.h : File or directory not
> found
> compilation terminated .
> In file included from src / lq_mpr.c : 42:0 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> src / link_set.c : 45:20 : fatal error: assert.h : File or directory not
> found
> compilation terminated .
> In file included from src / ipc_frontend.c : 49:0 :
> src / ipc_frontend.h : 52:23 : fatal error: sys / types.h : File or
> directory not found
> compilation terminated .
> In file included from src / ipcalc.c : 42:0 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> src / interfaces.c : 42:20 : fatal error: signal.h : File or directory not
> found
> compilation terminated .
> src / hysteresis.c : 42:18 : fatal error: time.h : File or directory not
> found
> compilation terminated .
> In file included from src / ipcalc.h : 45:0 ,
>                  from src / hna_set.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / olsr_protocol.h : 52:0 ,
>                  from src / hashing.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> In file included from src / generate_msg.h : 45:0 ,
>                  from src / generate_msg.c : 42 :
> src / interfaces.h : 45:23 : fatal error: sys / types.h : File or
> directory not found
> compilation terminated .
> In file included from src / gateway.h : 13:0 ,
>                  from src / gateway_list.h : 47
>                  from src / gateway_list.c : 44 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / gateway_costs.h : 54:0 ,
>                  from src / gateway_default_handler.c : 11:
> / usr/lib/gcc/mips64-linux-gnu/4.7.2/include/stdint.h : 3:26 : fatal
> error: stdint.h : File or directory not found
> compilation terminated .
> In file included from src / gateway_costs.h : 54:0 ,
>                  from src / gateway_costs.c : 1:
> / usr/lib/gcc/mips64-linux-gnu/4.7.2/include/stdint.h : 3:26 : fatal
> error: stdint.h : File or directory not found
> compilation terminated .
> In file included from src / gateway.c : 11:0 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> src / fpm.c : 42:19 : fatal error: stdio.h : File or directory not found
> compilation terminated .
> In file included from src / duplicate_set.h : 45:0 ,
>                  from src / duplicate_set.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / duplicate_handler.c : 9:0 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> In file included from src / olsr_protocol.h : 52:0 ,
>                  from src / packet.h : 45
>                  from src / build_msg.h : 45
>                  from src / build_msg.c : 42 :
> src / olsr_types.h : 63:22 : fatal error: inttypes.h : File or directory
> not found
> compilation terminated .
> src / common / list.c : 43:20 : fatal error: stdlib.h : File or directory
> not found
> compilation terminated .
> src / common / avl.c : 44:18 : fatal error: time.h : File or directory not
> found
> compilation terminated .
> In file included from src / common / autobuf.h : 47:0 ,
>                  from src / common / autobuf.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> [ CC ] src / common / autobuf.c
> In file included from src / common / autobuf.h : 47:0 ,
>                  from src / common / autobuf.c : 42 :
> src / defs.h : 46:22 : fatal error: sys / time.h : File or directory not
> found
> compilation terminated .
> make: ** [ src / common / autobuf.o ] Error 1
>
>
> if some colleagues went through this and can help me I would be very
> grateful. I believe that with a few tips ja conceguirei run olsr in my
> RTL8186
>
> Att
> Anderson Junior
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20140127/8660f010/attachment.html>


More information about the Olsr-users mailing list