Thanks Domi
 
>Did you run ldconfig after installing libosmocore?
 
yes I did
 
 
but I am a setp forward
 

export LIBOSMOCORE_CFLAGS=/usr/local/include/
export LIBOSMOCORE_LIBS=/usr/local/lib/
 
make
...
...
checking for LIBOSMOVTY... no
configure: error: Package requirements (libosmovty) were not met:
No package 'libosmovty' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBOSMOVTY_CFLAGS
and LIBOSMOVTY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [Makefile:69: host/layer23/Makefile] Error 1
 
export LIBOSMOVTY_CFLAGS=/usr/local/include/
export LIBOSMOVTY_LIBS=/usr/local/lib/
 
 
...
...
 
export LIBOSMOGSM_CFLAGS=/usr/local/include/
export LIBOSMOGSM_LIBS=/usr/local/lib
 
export LIBOSMOCODEC_CFLAGS=/usr/local/include/
export LIBOSMOCODEC_LIBS=/usr/local/libs
 
 
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_DONE’ not handled in switch [-Wswitch]
bcch_scan.c: In function ‘rx_sch_info’:
bcch_scan.c:236:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
bcch_scan.c: In function ‘bscan_sig_cb’:
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_NONE’ not handled in switch [-Wswitch]
   switch (fps.fps_state) {
   ^~~~~~
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_BINFO’ not handled in switch [-Wswitch]
bcch_scan.c:241:20: warning: unused variable ‘ci’ [-Wunused-variable]
  struct cell_info *ci = fps.cur_cell;
                    ^~
At top level:
bcch_scan.c:233:12: warning: ‘rx_sch_info’ defined but not used [-Wunused-function]
 static int rx_sch_info()
            ^~~~~~~~~~~
bcch_scan.c:206:12: warning: ‘rx_bcch_info’ defined but not used [-Wunused-function]
 static int rx_bcch_info(const uint8_t *data)
            ^~~~~~~~~~~~
gcc: warning: /usr/local/include/: linker input file unused because linking not done
gcc: warning: /usr/local/include/: linker input file unused because linking not done
  CCLD     bcch_scan
/usr/local/include/: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:388: bcch_scan] Error 1
make[3]: Leaving directory '/home/schneckd/Downloads/osmocom-bb/src/host/layer23/src/misc'
make[2]: *** [Makefile:321: all-recursive] Error 1
make[2]: Leaving directory '/home/schneckd/Downloads/osmocom-bb/src/host/layer23/src'
make[1]: *** [Makefile:347: all-recursive] Error 1
make[1]: Leaving directory '/home/schneckd/Downloads/osmocom-bb/src/host/layer23'
make: *** [Makefile:72: host/layer23/layer23] Error 2
 
 
 
 
 
 
 
 
Gesendet: Mittwoch, 15. Februar 2017 um 07:06 Uhr
Von: "Tomcsányi, Domonkos" <domi@tomcsanyi.net>
An: "Dennis Schneck" <dennisschneck@web.de>
Cc: baseband-devel@lists.osmocom.org
Betreff: Re: Compile error - osmocom-bb | No package 'libosmocore' found but libosmocore is installed
Did you run ldconfig after installing libosmocore?


Cheers,
Domi


2017. febr. 15. dátummal, 6:08 időpontban Dennis Schneck <dennisschneck@web.de> írta:

>
>
> Hello,
> I am suing Manjaro Linux (Arch Linux based) and do not get the osmocom-bb compiled.
>
> git clone https://github.com/osmocom/osmocom-bb
> cd osmocom-bb/src
>
> make
> ....
> ....
> checking pkg-config is at least version 0.9.0... yes
> checking for LIBOSMOCORE... no
> configure: error: Package requirements (libosmocore) were not met:
> No package 'libosmocore' found
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> Alternatively, you may set the environment variables LIBOSMOCORE_CFLAGS
> and LIBOSMOCORE_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> make: *** [Makefile:69: host/layer23/Makefile] Fehler 1
>
>
> but libosmocore is compiled and installed ( /usr/local )
>
> $ ls -la /usr/local/include/osmocom/
> insgesamt 40
> drwxr-xr-x 10 root root 4096 12. Feb 06:45 .
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 ..
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 codec
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 core
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 crypt
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 ctrl
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 gprs
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 gsm
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 sim
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 vty
>
> $ ls -la /usr/local/lib/
> insgesamt 3408
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 .
> drwxr-xr-x 11 root root 4096 16. Feb 2015 ..
> -rwxr-xr-x 1 root root 981 12. Feb 06:45 libosmocodec.la
> lrwxrwxrwx 1 root root 21 12. Feb 06:45 libosmocodec.so -> libosmocodec.so.0.0.0
> lrwxrwxrwx 1 root root 21 12. Feb 06:45 libosmocodec.so.0 -> libosmocodec.so.0.0.0
> -rwxr-xr-x 1 root root 26968 12. Feb 06:45 libosmocodec.so.0.0.0
> -rwxr-xr-x 1 root root 945 12. Feb 06:45 libosmocore.la
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmocore.so -> libosmocore.so.8.0.0
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmocore.so.8 -> libosmocore.so.8.0.0
> -rwxr-xr-x 1 root root 441216 12. Feb 06:45 libosmocore.so.8.0.0
> -rwxr-xr-x 1 root root 1033 12. Feb 06:45 libosmoctrl.la
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmoctrl.so -> libosmoctrl.so.0.0.0
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmoctrl.so.0 -> libosmoctrl.so.0.0.0
> -rwxr-xr-x 1 root root 100072 12. Feb 06:45 libosmoctrl.so.0.0.0
> -rwxr-xr-x 1 root root 1021 12. Feb 06:45 libosmogb.la
> lrwxrwxrwx 1 root root 18 12. Feb 06:45 libosmogb.so -> libosmogb.so.4.0.0
> lrwxrwxrwx 1 root root 18 12. Feb 06:45 libosmogb.so.4 -> libosmogb.so.4.0.0
> -rwxr-xr-x 1 root root 430400 12. Feb 06:45 libosmogb.so.4.0.0
> -rwxr-xr-x 1 root root 969 12. Feb 06:45 libosmogsm.la
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmogsm.so -> libosmogsm.so.6.1.0
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmogsm.so.6 -> libosmogsm.so.6.1.0
> -rwxr-xr-x 1 root root 957032 12. Feb 06:45 libosmogsm.so.6.1.0
> -rwxr-xr-x 1 root root 1018 12. Feb 06:45 libosmosim.la
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmosim.so -> libosmosim.so.0.0.0
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmosim.so.0 -> libosmosim.so.0.0.0
> -rwxr-xr-x 1 root root 175416 12. Feb 06:45 libosmosim.so.0.0.0
> -rwxr-xr-x 1 root root 969 12. Feb 06:45 libosmovty.la
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmovty.so -> libosmovty.so.3.0.0
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmovty.so.3 -> libosmovty.so.3.0.0
> -rwxr-xr-x 1 root root 378280 12. Feb 06:45 libosmovty.so.3.0.0
> -rw-r--r-- 1 root root 578174 6. Jan 2016 libphysfs.a
> lrwxrwxrwx 1 root root 14 6. Jan 2016 libphysfs.so -> libphysfs.so.1
> lrwxrwxrwx 1 root root 18 6. Jan 2016 libphysfs.so.1 -> libphysfs.so.2.0.3
> -rwxr-xr-x 1 root root 340504 6. Jan 2016 libphysfs.so.2.0.3
>
>
>
>
> $ pacman -Ss arm-
> community/arm-none-eabi-binutils 2.27-2 [Installiert]
> A set of programs to assemble and manipulate binary and object files for the ARM EABI (bare-metal) target
> community/arm-none-eabi-gcc 6.3.0-1 [Installiert]
> The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target
> community/arm-none-eabi-gdb 7.12-3 [Installiert]
> The GNU Debugger for the ARM EABI (bare-metal) target
> community/arm-none-eabi-newlib 2.5.0-1 [Installiert]
> A C standard library implementation intended for use on embedded systems (ARM bare metal)
>
> What did i wrong ?
>
> Thanks
>