<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Thanks Domi</div>

<div> </div>

<div>>Did you run ldconfig after installing libosmocore?</div>

<div>
<div>
<div> </div>

<div>yes I did</div>

<div> </div>

<div> </div>

<div>but I am a setp forward</div>

<div> </div>

<div>
<div><br/>
export LIBOSMOCORE_CFLAGS=/usr/local/include/<br/>
export LIBOSMOCORE_LIBS=/usr/local/lib/</div>

<div> </div>

<div>make</div>

<div>...</div>

<div>...</div>

<div>checking for LIBOSMOVTY... no<br/>
configure: error: Package requirements (libosmovty) were not met:</div>

<div>No package 'libosmovty' found</div>

<div>Consider adjusting the PKG_CONFIG_PATH environment variable if you<br/>
installed software in a non-standard prefix.</div>

<div>Alternatively, you may set the environment variables LIBOSMOVTY_CFLAGS<br/>
and LIBOSMOVTY_LIBS to avoid the need to call pkg-config.<br/>
See the pkg-config man page for more details.<br/>
make: *** [Makefile:69: host/layer23/Makefile] Error 1</div>

<div> </div>

<div>
<div>export LIBOSMOVTY_CFLAGS=/usr/local/include/<br/>
export LIBOSMOVTY_LIBS=/usr/local/lib/</div>

<div> </div>

<div> </div>

<div>...</div>

<div>...</div>

<div> </div>

<div>export LIBOSMOGSM_CFLAGS=/usr/local/include/</div>

<div>export LIBOSMOGSM_LIBS=/usr/local/lib</div>

<div> </div>

<div>export LIBOSMOCODEC_CFLAGS=/usr/local/include/</div>

<div>
<div>export LIBOSMOCODEC_LIBS=/usr/local/libs</div>

<div> </div>

<div> </div>

<div>
<div>bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_DONE’ not handled in switch [-Wswitch]<br/>
bcch_scan.c: In function ‘rx_sch_info’:<br/>
bcch_scan.c:236:1: warning: no return statement in function returning non-void [-Wreturn-type]<br/>
 }<br/>
 ^<br/>
bcch_scan.c: In function ‘bscan_sig_cb’:<br/>
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_NONE’ not handled in switch [-Wswitch]<br/>
   switch (fps.fps_state) {<br/>
   ^~~~~~<br/>
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_BINFO’ not handled in switch [-Wswitch]<br/>
bcch_scan.c:241:20: warning: unused variable ‘ci’ [-Wunused-variable]<br/>
  struct cell_info *ci = fps.cur_cell;<br/>
                    ^~<br/>
At top level:<br/>
bcch_scan.c:233:12: warning: ‘rx_sch_info’ defined but not used [-Wunused-function]<br/>
 static int rx_sch_info()<br/>
            ^~~~~~~~~~~<br/>
bcch_scan.c:206:12: warning: ‘rx_bcch_info’ defined but not used [-Wunused-function]<br/>
 static int rx_bcch_info(const uint8_t *data)<br/>
            ^~~~~~~~~~~~<br/>
gcc: warning: /usr/local/include/: linker input file unused because linking not done<br/>
gcc: warning: /usr/local/include/: linker input file unused because linking not done<br/>
  CCLD     bcch_scan<br/>
/usr/local/include/: file not recognized: Is a directory<br/>
collect2: error: ld returned 1 exit status<br/>
make[3]: *** [Makefile:388: bcch_scan] Error 1<br/>
make[3]: Leaving directory '/home/schneckd/Downloads/osmocom-bb/src/host/layer23/src/misc'<br/>
make[2]: *** [Makefile:321: all-recursive] Error 1<br/>
make[2]: Leaving directory '/home/schneckd/Downloads/osmocom-bb/src/host/layer23/src'<br/>
make[1]: *** [Makefile:347: all-recursive] Error 1<br/>
make[1]: Leaving directory '/home/schneckd/Downloads/osmocom-bb/src/host/layer23'<br/>
make: *** [Makefile:72: host/layer23/layer23] Error 2</div>

<div> </div>

<div> </div>

<div> </div>
</div>
</div>

<div> </div>

<div> </div>

<div> </div>
</div>

<div> </div>
</div>

<div> </div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 15. Februar 2017 um 07:06 Uhr<br/>
<b>Von:</b> "Tomcsányi, Domonkos" <domi@tomcsanyi.net><br/>
<b>An:</b> "Dennis Schneck" <dennisschneck@web.de><br/>
<b>Cc:</b> baseband-devel@lists.osmocom.org<br/>
<b>Betreff:</b> Re: Compile error - osmocom-bb | No package 'libosmocore' found but libosmocore is installed</div>

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