Building OpenWRT under FreeBSD

I’d been toying recently with building OpenWRT natively under FreeBSD, but my Google-fu failed to reveal a sufficiently up-to-date “how to”.

So, I had a colleague (Chris Holman) nut out the details, and we’ve put up short description here of how we prepared both a FreeBSD 8.x jail and a FreeBSD 9.1 (actually a PCBSD 9.1) jail to support OpenWRT’s build system.

About these ads

2 comments

  1. Greetings !

    I tried to repeat building OpenWrt under FreeBSD 9.1 and ran into a problem:
    after command gmake i get error

    configure: error: *** No iconv() implementation found in C library or libiconv
    configure: error: ./configure failed for glib
    gmake[3]: *** [/usr/home/openwrt/trunk/build_dir/host/pkg-config-0.28/.configured] Error 1
    gmake[3]: Leaving directory `/usr/home/openwrt/trunk/tools/pkg-config’
    gmake[2]: *** [tools/pkg-config/compile] Error 2
    gmake[2]: Leaving directory `/usr/home/openwrt/trunk’
    gmake[1]: *** [/usr/home/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.tools_install_yynyynynnyyyyyyyyyyyyyyyyyynyyyynnyyynyyynnnyyyy] Error 2
    gmake[1]: Leaving directory `/usr/home/openwrt/trunk’
    gmake: *** [world] Error 2

  2. Me too. Same error. Did you get past it?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: