[PATCH] build: Fix make rule for building crc%gen.h

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

richie richie.isc at gmail.com
Sun Oct 7 18:04:09 UTC 2012


Try this:
---------------------------------------------------------

Installing Osmocombb (Prerequisites):

1.- For Debian the package names are
(http://bb.osmocom.org/trac/wiki/GettingStarted):

$ sudo aptitude install libtool shtool autoconf git-core pkg-config make gcc

2.- GNUArm (http://bb.osmocom.org/trac/wiki/toolchain)
The toolchains that are known working are the  GNUArm.com ones. They provide a
ARM GCC 3.4.3 for x86  here and a ARM GCC 4.0.2 for x86_64  here. The toolchain
is relocatable and can be extracted in your home directory.

For x86

wget http://gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2
tar xf bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2
mv gnuarm-* ~/gnuarm

For amd64

wget http://www.gnuarm.com/bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2
tar xf bu-*_gcc-*-c-c++_nl-*_gi-*_x86-64.tar.bz2
mv gnuarm-* ~/gnuarm

To be able to use the toolchain, add the crosscompilers to your PATH

export PATH=~/gnuarm/bin:$PATH

--------------------------------------------------------------

Installing Osmocombb:


3.- Firsts steps (http://bb.osmocom.org/trac/wiki/GettingStarted):
$ git clone git://git.osmocom.org/osmocom-bb.git
$ cd osmocom-bb
$ git pull --rebase
$ cd src
$ make

Si nos manda el siguiente error (If throw this error):
/bin/bash: osmocom/core/crc16gen.h: No existe el fichero o el directorio
make[3]: *** [osmocom/core/crc16gen.h] Error 1

Then:
$ cd shared/libosmocore
$ autoreconf -i
$ ./configure
$ make
$ su

Como root (As root):
# make install

Salimos de root (Root exit):
# exit

Continuamos (Then):

$ cd ../..

$ make

Nos manda el siguiente error (And if throws error):
configure: error: source directory already configured; run "make distclean"
there first
make: *** [shared/libosmocore/build-host/Makefile] Error 

Hacer (Then do):
$ cd shared/libosmocore
$ make distclean

$ cd ../..
$ make

And it should work :)





More information about the baseband-devel mailing list