Hi,
I install ubuntu 10.04 and I can install all the packages required for
compiling.
I run the compilation, but in one momento apears the message:
install -d -m0755 /home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-
c/usr/include
cp -fpR
/home/jcalvo/fonera/trunk/openwrt/build_dir/mipsel/json-c-0.11/ipkg-
install/usr/include/json /home/jcalvo/fonera/trunk/openwrt/tmp/stage-
json-c/usr/include/
cp -fpR
/home/jcalvo/fonera/trunk/openwrt/build_dir/mipsel/json-c-0.11/ipkg-
install/usr/include/json-c /home/jcalvo/fonera/trunk/openwrt/tmp/stage-
json-c/usr/include/
install -d -m0755
/home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c/usr/lib
cp -fpR
/home/jcalvo/fonera/trunk/openwrt/build_dir/mipsel/json-c-0.11/ipkg-
install/usr/lib/libjson.{a,so*}
/home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c/usr/lib/
cp -fpR
/home/jcalvo/fonera/trunk/openwrt/build_dir/mipsel/json-c-0.11/ipkg-
install/usr/lib/libjson-c.{a,so*}
/home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c/usr/lib/
install -d -
m0755 /home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-
c/usr/lib/pkgconfig
cp -fpR
/home/jcalvo/fonera/trunk/openwrt/build_dir/mipsel/json-c-0.11/ipkg-
install/usr/lib/pkgconfig/json-c.pc
/home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c/usr/lib/pkgconfig/
if [ -d /home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c ]; then (cd
/home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c; find ./ >
/home/jcalvo/fonera/trunk/openwrt/staging_dir/mipsel/packages/json-c.
list); cp -fpR /home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c/*
/home/jcalvo/fonera/trunk/openwrt/staging_dir/mipsel/; fi rm -rf
/home/jcalvo/fonera/trunk/openwrt/tmp/stage-json-c
touch
/home/jcalvo/fonera/trunk/openwrt/staging_dir/mipsel/stamp/.json-
c_installed
WARNING: skipping libjson -- package not selected
make[3]:
Leaving directory `/home/jcalvo/fonera/trunk/fon/libjson-c'
make[3]:
Entering directory `/home/jcalvo/fonera/trunk/fon/libubox'
mkdir -p
/home/jcalvo/fonera/trunk/openwrt/dl
--2014-03-07 17:38:10-- http:
//mirror2.openwrt.org/sources/libubox-2013-12-02-
318d682d29a8974aa53bd7dc523f1514eb0eddb9.tar.gz
Resolving mirror2.
openwrt.org... 46.4.11.11
Connecting to mirror2.openwrt.org|46.4.11.11|:
80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-03-07 17:38:10 ERROR 404: Not Found.
Download failed.
--2014-03-
07 17:38:10-- http://downloads.openwrt.org/sources/libubox-2013-12-02-
318d682d29a8974aa53bd7dc523f1514eb0eddb9.tar.gz
Resolving downloads.
openwrt.org... 78.24.191.177
Connecting to downloads.openwrt.org|78.
24.191.177|:80... connected.
HTTP request sent, awaiting response...
404 Not Found
2014-03-07 17:38:11 ERROR 404: Not Found.
Download
failed.
--2014-03-07 17:38:11-- http://download.fonosfera.
org/sources/libubox-2013-12-02-318d682d29a8974aa53bd7dc523f1514eb0eddb9.
tar.gz
Resolving download.fonosfera.org... 67.192.249.56 Connecting to
download.fonosfera.org|67.192.249.56|:80... connected.
HTTP request
sent, awaiting response... 404 Not Found
2014-03-07 17:38:11 ERROR 404:
Not Found.
Download failed.
No more mirrors to try - giving up.
Checking out files from the git repository...
--: git: command not
found
make[3]: *** [/home/jcalvo/fonera/trunk/openwrt/dl/libubox-2013-
12-02-318d682d29a8974aa53bd7dc523f1514eb0eddb9.tar.gz] Error 127 make
[3]: Leaving directory `/home/jcalvo/fonera/trunk/fon/libubox'
make[2]:
*** [package/feeds/fon/libubox/compile] Error 2
make[2]: Leaving
directory `/home/jcalvo/fonera/trunk/openwrt'
make[1]: ***
[/home/jcalvo/fonera/trunk/openwrt/staging_dir/mipsel/stamp/.
package_compile] Error 2
make[1]: Leaving directory
`/home/jcalvo/fonera/trunk/openwrt'
make: *** [world] Error 2
Where can i get the source libubox?
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de
[email protected]
Enviado el: lunes, 03 de marzo de 2014 13:00
Para: [email protected]
Asunto: Development Digest, Vol 60, Issue 1
Send Development mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://fonosfera.org/mailman/listinfo/development
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Development digest..."
Today's Topics:
1. Re: Compilation for Fonera 2n (jj_calvo)
2. Re: Compilation for Fonera 2n (Matthijs Kooijman - Fon)
----------------------------------------------------------------------
Message: 1
Date: Sun, 2 Mar 2014 21:52:07 +0100
From: "jj_calvo" <[email protected]>
To: <[email protected]>
Subject: Re: [fonosfera] Compilation for Fonera 2n
Message-ID: <35825C9F0F1A4119A5E0CA2A3B191EF0@windows99c6e1e>
Content-Type: text/plain; charset="us-ascii"
Hi,
I installed ubuntu 8.10 perfectly.
When I execute:
sudo aptitude install subversion g++ libdigest-crc-perl ncurses-dev
zlib1g-dev gawk bison flex autoconf intltool-debian intltool
The instalation returned many errors.
I have read on several websites that version 8.10 is not supported.
I tried installing the software program from several servers, but I always
have installation errors.
Do you know any server that has these packages?
Can I use another version of ubuntu to compile programs?
If I use another version of ubuntu.
What version advice?
Regards,
JJ. Calvo
--------------------------------------------------------------
Message: 1
Date: Mon, 3 Feb 2014 14:02:23 +0100
From: Matthijs Kooijman - Fon <[email protected]>
To: [email protected]
Subject: Re: [fonosfera] Compilation for Fonera 2n
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Hi,
> I want to compile a C program for fonera2n. The source of this program is
in
> the version of openwrt 12.09.
Unfortunately there is no extensive documentation on compiling custom
packages or programs. However, I'll try to give you some useful info.
- As a first step, you should build the complete firmware. In addition
to building the firmware, this also compiles the toolchain (compilers
and libraries) in exactly the right version. See
http://trac.fonosfera.org/fon-ng/wiki/build for instructions (and
don't forget to select the 2.0n target, the default is 2.0g).
- Then, you could try copying the package directory (that's a directory
in the package/ directory inside openwrt repository or the OpenWRT
packages repository. It should contain at least a "Makefile") into
the "fon/" directory in your fonosfera checkout.
- After that, in the "openwrt/" directory of your fonosfera checkout,
run "./script/feeds install -p fon name_of_your_package" (or
"./script/feeds install -a" should also work, since all other
packages in the "fon" feed are already installed).
- Then, enable your package in "make menuconfig" and build a new
firmware which should now either include the package already, or (if
you selected "M" in menuconfig), the ipk is available in
"openwrt/bin/packages".
- To install the ipk, you copy it to your fonera and use "opkg
-force-depends install package.ipk". The force-depends is needed
because the Fonera base firmware doesn't know about the packages that
are already present (things like libc, luci, etc.). This does mean
that you might need to install extra packages manually.
I hope this gets you going. If you have further questions, don't
hesitate to ask.
Regards,
Matthijs Kooijman
------------------------------
Message: 2
Date: Mon, 3 Mar 2014 09:37:40 +0100
From: Matthijs Kooijman - Fon <[email protected]>
To: [email protected]
Subject: Re: [fonosfera] Compilation for Fonera 2n
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Hi JJ,
> I installed ubuntu 8.10 perfectly.
Hmm, I think this is a pretty ancient Ubuntu version. The build page
lists dependencies tested on 8.10, but later versions of Ubuntu should
also work. I'd recommend you just use the latest version. Also, I'll
update the build documentation to better reflect this fact.
Regards,
Matthijs Kooijman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL:
<http://fonosfera.org/pipermail/development/attachments/20140303/02dd5793/at
tachment-0001.pgp>
------------------------------
_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development
End of Development Digest, Vol 60, Issue 1
******************************************
_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development