compile problems using patch

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/.

royfarji india roy.techie at gmail.com
Tue Mar 15 16:11:34 UTC 2011


I had some compilation problems in buiding osmocom-bb using gnuarm-3.4.3. I
have used the patch present at:
http://baseband-devel.722152.n3.nabble.com/PATCH-Adjust-top-level-Makefile-for-arm-none-eabi-toolchain-td2334319.html

please help






roy at roy:~$ cd osmocom-bb

roy at roy:~/osmocom-bb$ cd src

roy at roy:~/osmocom-bb/src$ make

cd shared/libosmocore/build-target && make

make[1]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target'

make  all-recursive

make[2]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target'

Making all in include

make[3]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include'

Making all in osmocom

make[4]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'

Making all in codec

make[5]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/codec'

make[5]: Nothing to be done for `all'.

make[5]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/codec'

Making all in crypt

make[5]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/crypt'

make[5]: Nothing to be done for `all'.

make[5]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/crypt'

make[5]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'

make[5]: Nothing to be done for `all-am'.

make[5]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'

make[4]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'

Making all in osmocore

make[4]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'

Making all in protocol

make[5]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore/protocol'

make[5]: Nothing to be done for `all'.

make[5]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore/protocol'

make[5]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'

make[5]: Nothing to be done for `all-am'.

make[5]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'

make[4]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'

make[4]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include'

make[4]: Nothing to be done for `all-am'.

make[4]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include'

make[3]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/include'

Making all in src

make[3]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src'

Making all in .

make[4]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src'

make[4]: Nothing to be done for `all-am'.

make[4]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src'

Making all in vty

make[4]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src/vty'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src/vty'

Making all in codec

make[4]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src/codec'

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src/codec'

make[3]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/src'

Making all in tests

make[3]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests'

Making all in timer

make[4]: Entering directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests/timer'

  CCLD   timer_test

timer_test.o: In function `main':

/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests/timer/../../../tests/timer/timer_test.c:66:
undefined reference to `bsc_schedule_timer'

/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests/timer/../../../tests/timer/timer_test.c:67:
undefined reference to `bsc_schedule_timer'

/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests/timer/../../../tests/timer/timer_test.c:68:
undefined reference to `bsc_schedule_timer'

timer_test.o: In function `timer_fired':

/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests/timer/../../../tests/timer/timer_test.c:51:
undefined reference to `bsc_schedule_timer'

/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests/timer/../../../tests/timer/timer_test.c:52:
undefined reference to `bsc_del_timer'

../../src/.libs/libosmocore.so: undefined reference to `msgb_dequeue'

../../src/.libs/libosmocore.so: undefined reference to `bsc_nearest_timer'

../../src/.libs/libosmocore.so: undefined reference to `msgb_enqueue'

../../src/.libs/libosmocore.so: undefined reference to `bsc_prepare_timers'

../../src/.libs/libosmocore.so: undefined reference to `bsc_timer_check'

../../src/.libs/libosmocore.so: undefined reference to `msgb_free'

../../src/.libs/libosmocore.so: undefined reference to `msgb_alloc'

../../src/.libs/libosmocore.so: undefined reference to `get_string_value'

../../src/.libs/libosmocore.so: undefined reference to `get_value_string'

../../src/.libs/libosmocore.so: undefined reference to `bsc_update_timers'

collect2: ld returned 1 exit status

make[4]: *** [timer_test] Error 1

make[4]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests/timer'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target/tests'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target'

make[1]: *** [all] Error 2

make[1]: Leaving directory
`/home/roy/osmocom-bb/src/shared/libosmocore/build-target'

make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Error 2

roy at roy:~/osmocom-bb/src$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20110315/2fbf1343/attachment.htm>


More information about the baseband-devel mailing list