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/OpenBSC@lists.osmocom.org/.
Maciej Januszewski dekagramzla at gmail.comHello Sorry for my ignorance but I am a complete newbie to the OpenBSC. We are trying to run the OpenBSC with the nanoBTS as an university project. I have tried to follow the step by step instructions from the OpenBSC wiki page (both Debian_Getting_Started and OpenBSC_LCR) but I have faced some problems during the LCR installation. I am putting a whole installation screen below because I am not sure which part of it might be relevant for diagnosing the problem. We have also tried this on 2.6.27.4 and 2.6.29.1 linux kernel versions (both with mISDN modules included, at least we believe so) and both gave the same problem.. I would really appreciate any suggestion for solving the problem. Thanks in advance. Sorry for some polish parts in it but it is due to our Debian version... ---------------------------------------------------------------------------- user at pc1123:~$ cd lcr user at pc1123:~/lcr$ sh autogen.sh autom4te: cannot open autom4te.cache/requests: Brak dostępu aclocal: autom4te failed with exit status: 1 autom4te: cannot open autom4te.cache/requests: Brak dostępu autoheader: '/usr/bin/autom4te' failed with exit status: 1 autom4te: cannot open autom4te.cache/requests: Permission denied automake: autoconf failed with exit status: 1 autom4te: cannot open autom4te.cache/requests: Permission denied user at pc1123:~/lcr$ su Hasło: pc1123:/home/user/lcr# $ ./configure --prefix=/opt/lcr --with-asterisk --with-gsm bash: $: command not found pc1123:/home/user/lcr# $ ./configure --prefix=/opt/lcr --with-asterisk --with-gsm bash: $: command not found pc1123:/home/user/lcr# ./configure --prefix=/opt/lcr --with-asterisk --with-gsm checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking asterisk/compiler.h usability... yes checking asterisk/compiler.h presence... yes checking for asterisk/compiler.h... yes checking openssl/rsa.h usability... no checking openssl/rsa.h presence... no checking for openssl/rsa.h... no checking for main in -lcrypto... no checking for openbsc/include/openbsc/gsm_data.h... yes checking for main in -lm... yes checking for main in -lncurses... yes checking for main in -lpthread... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking mISDNuser/mbuffer.h usability... no checking mISDNuser/mbuffer.h presence... no checking for mISDNuser/mbuffer.h... no checking for assert.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking return type of signal handlers... void checking for AIX... no checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for working strnlen... yes checking for working strtod... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands pc1123:/home/user/lcr# make make all-am make[1]: Wejście do katalogu `/home/user/lcr' g++ -DHAVE_CONFIG_H -I. -DWITH_GSM -I./openbsc/include -Wall -I/usr/include/mISDNuser -DCONFIG_DATA="\"/usr/local/lcr\"" -DSHARE_DATA="\"/usr/local/lcr\"" -DLOG_DIR="\"/usr/local/lcr\"" -DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -g -O2 -MT gsm.o -MD -MP -MF .deps/gsm.Tpo -c -o gsm.o gsm.cpp In file included from main.h:135, from gsm.cpp:12: /usr/local/include/mbuffer.h:18:21: error: global.h: Nie ma takiego pliku ani katalogu /usr/local/include/mbuffer.h:19:29: error: enc_statistics.h: Nie ma takiego pliku ani katalogu In file included from main.h:135, from gsm.cpp:12: /usr/local/include/mbuffer.h:32: error: 'PictureStructure' does not name a type /usr/local/include/mbuffer.h:39: error: 'int64' does not name a type /usr/local/include/mbuffer.h:40: error: 'int64' does not name a type /usr/local/include/mbuffer.h:41: error: 'int64' does not name a type /usr/local/include/mbuffer.h:42: error: 'int64' does not name a type /usr/local/include/mbuffer.h:48: error: 'byte' does not name a type /usr/local/include/mbuffer.h:61: error: expected ';' before '*' token /usr/local/include/mbuffer.h:62: error: expected ';' before '*' token /usr/local/include/mbuffer.h:63: error: expected ';' before '*' token /usr/local/include/mbuffer.h:64: error: expected ';' before '*' token /usr/local/include/mbuffer.h:67: error: expected ';' before '*' token /usr/local/include/mbuffer.h:68: error: expected ';' before '*' token /usr/local/include/mbuffer.h:69: error: expected ';' before '*' token /usr/local/include/mbuffer.h:71: error: expected ';' before '*' token /usr/local/include/mbuffer.h:73: error: expected ';' before '*' token /usr/local/include/mbuffer.h:74: error: expected ';' before '*' token /usr/local/include/mbuffer.h:75: error: expected ';' before '*' token /usr/local/include/mbuffer.h:76: error: expected ';' before '*' token /usr/local/include/mbuffer.h:79: error: 'PicMotionParams' does not name a type /usr/local/include/mbuffer.h:80: error: 'PicMotionParams' does not name a type /usr/local/include/mbuffer.h:101: error: 'StatParameters' does not name a type /usr/local/include/mbuffer.h:111: error: expected ';' before '*' token /usr/local/include/mbuffer.h:114: error: expected ';' before '*' token /usr/local/include/mbuffer.h:122: error: 'byte' does not name a type /usr/local/include/mbuffer.h:160: error: expected ';' before '*' token /usr/local/include/mbuffer.h:161: error: expected ';' before '*' token /usr/local/include/mbuffer.h:179: error: variable or field 'init_dpb' declared void /usr/local/include/mbuffer.h:179: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:179: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:179: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:179: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:179: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:179: error: 'dpb' was not declared in this scope /usr/local/include/mbuffer.h:180: error: variable or field 'free_dpb' declared void /usr/local/include/mbuffer.h:180: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:180: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:180: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:180: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:180: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:180: error: 'dpb' was not declared in this scope /usr/local/include/mbuffer.h:182: error: variable or field 'free_frame_store' declared void /usr/local/include/mbuffer.h:182: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:182: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:182: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:182: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:182: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:182: error: 'f' was not declared in this scope /usr/local/include/mbuffer.h:183: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:183: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:183: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:183: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:183: error: 'PictureStructure' was not declared in this scope /usr/local/include/mbuffer.h:183: error: expected primary-expression before 'int' /usr/local/include/mbuffer.h:183: error: expected primary-expression before 'int' /usr/local/include/mbuffer.h:183: error: expected primary-expression before 'int' /usr/local/include/mbuffer.h:183: error: expected primary-expression before 'int' /usr/local/include/mbuffer.h:183: error: initializer expression list treated as compound expression /usr/local/include/mbuffer.h:184: error: variable or field 'free_storable_picture' declared void /usr/local/include/mbuffer.h:184: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:184: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:184: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:184: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:184: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:184: error: 'p' was not declared in this scope /usr/local/include/mbuffer.h:185: error: variable or field 'store_picture_in_dpb' declared void /usr/local/include/mbuffer.h:185: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:185: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:185: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:185: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:185: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:185: error: 'p' was not declared in this scope /usr/local/include/mbuffer.h:185: error: 'FrameFormat' was not declared in this scope /usr/local/include/mbuffer.h:185: error: 'output' was not declared in this scope /usr/local/include/mbuffer.h:186: error: variable or field 'replace_top_pic_with_frame' declared void /usr/local/include/mbuffer.h:186: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:186: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:186: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:186: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:186: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:186: error: 'p' was not declared in this scope /usr/local/include/mbuffer.h:186: error: 'FrameFormat' was not declared in this scope /usr/local/include/mbuffer.h:186: error: 'output' was not declared in this scope /usr/local/include/mbuffer.h:187: error: variable or field 'flush_dpb' declared void /usr/local/include/mbuffer.h:187: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:187: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:187: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:187: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:187: error: 'FrameFormat' was not declared in this scope /usr/local/include/mbuffer.h:187: error: 'output' was not declared in this scope /usr/local/include/mbuffer.h:188: error: variable or field 'dpb_split_field' declared void /usr/local/include/mbuffer.h:188: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:188: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:188: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:188: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:188: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:188: error: 'fs' was not declared in this scope /usr/local/include/mbuffer.h:189: error: variable or field 'dpb_combine_field' declared void /usr/local/include/mbuffer.h:189: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:189: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:189: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:189: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:189: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:189: error: 'fs' was not declared in this scope /usr/local/include/mbuffer.h:190: error: variable or field 'dpb_combine_field_yuv' declared void /usr/local/include/mbuffer.h:190: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:190: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:190: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:190: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:190: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:190: error: 'fs' was not declared in this scope /usr/local/include/mbuffer.h:191: error: variable or field 'init_lists' declared void /usr/local/include/mbuffer.h:191: error: 'Slice' was not declared in this scope /usr/local/include/mbuffer.h:191: error: 'currSlice' was not declared in this scope /usr/local/include/mbuffer.h:192: error: variable or field 'reorder_ref_pic_list' declared void /usr/local/include/mbuffer.h:192: error: 'Slice' was not declared in this scope /usr/local/include/mbuffer.h:192: error: 'currSlice' was not declared in this scope /usr/local/include/mbuffer.h:192: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:192: error: 'list' was not declared in this scope /usr/local/include/mbuffer.h:192: error: expected primary-expression before 'char' /usr/local/include/mbuffer.h:192: error: expected primary-expression before 'int' /usr/local/include/mbuffer.h:193: error: variable or field 'init_mbaff_lists' declared void /usr/local/include/mbuffer.h:193: error: 'Slice' was not declared in this scope /usr/local/include/mbuffer.h:193: error: 'currSlice' was not declared in this scope /usr/local/include/mbuffer.h:194: error: variable or field 'alloc_ref_pic_list_reordering_buffer' declared void /usr/local/include/mbuffer.h:194: error: 'Slice' was not declared in this scope /usr/local/include/mbuffer.h:194: error: 'currSlice' was not declared in this scope /usr/local/include/mbuffer.h:195: error: variable or field 'free_ref_pic_list_reordering_buffer' declared void /usr/local/include/mbuffer.h:195: error: 'Slice' was not declared in this scope /usr/local/include/mbuffer.h:195: error: 'currSlice' was not declared in this scope /usr/local/include/mbuffer.h:196: error: variable or field 'fill_frame_num_gap' declared void /usr/local/include/mbuffer.h:196: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:196: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:196: error: 'InputParameters' was not declared in this scope /usr/local/include/mbuffer.h:196: error: 'p_Inp' was not declared in this scope /usr/local/include/mbuffer.h:196: error: 'FrameFormat' was not declared in this scope /usr/local/include/mbuffer.h:196: error: 'output' was not declared in this scope /usr/local/include/mbuffer.h:199: error: variable or field 'compute_colocated' declared void /usr/local/include/mbuffer.h:199: error: 'Slice' was not declared in this scope /usr/local/include/mbuffer.h:199: error: 'currSlice' was not declared in this scope /usr/local/include/mbuffer.h:199: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:199: error: 'p' was not declared in this scope /usr/local/include/mbuffer.h:199: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:199: error: 'listX' was not declared in this scope /usr/local/include/mbuffer.h:202: error: variable or field 'compute_colocated_JV' declared void /usr/local/include/mbuffer.h:202: error: 'Slice' was not declared in this scope /usr/local/include/mbuffer.h:202: error: 'currSlice' was not declared in this scope /usr/local/include/mbuffer.h:202: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:202: error: 'p' was not declared in this scope /usr/local/include/mbuffer.h:202: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:202: error: 'listX' was not declared in this scope /usr/local/include/mbuffer.h:203: error: variable or field 'copy_storable_param_JV' declared void /usr/local/include/mbuffer.h:203: error: 'ImageParameters' was not declared in this scope /usr/local/include/mbuffer.h:203: error: 'p_Img' was not declared in this scope /usr/local/include/mbuffer.h:203: error: expected primary-expression before 'int' /usr/local/include/mbuffer.h:203: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:203: error: 'd' was not declared in this scope /usr/local/include/mbuffer.h:203: error: expected primary-expression before '*' token /usr/local/include/mbuffer.h:203: error: 's' was not declared in this scope In file included from main.h:150, from gsm.cpp:12: mISDN.h:57: error: field 'upqueue' has incomplete type gsm.cpp: In member function 'int Pgsm::bchannel_open(int)': gsm.cpp:135: error: aggregate 'sockaddr_mISDN addr' has incomplete type and cannot be defined gsm.cpp:136: error: aggregate 'mISDNhead act' has incomplete type and cannot be defined gsm.cpp:144: error: 'ISDN_P_B_RAW' was not declared in this scope gsm.cpp:171: error: 'PH_ACTIVATE_REQ' was not declared in this scope gsm.cpp:173: error: 'MISDN_HEADER_LEN' was not declared in this scope gsm.cpp: In member function 'void Pgsm::bchannel_send(unsigned int, unsigned int, unsigned char*, int)': gsm.cpp:240: error: 'MISDN_HEADER_LEN' was not declared in this scope gsm.cpp:241: error: 'buf' was not declared in this scope gsm.cpp:248: error: invalid use of incomplete type 'struct mISDNhead' mISDN.h:117: error: forward declaration of 'struct mISDNhead' gsm.cpp:248: error: 'PH_DATA_REQ' was not declared in this scope gsm.cpp:249: error: invalid use of incomplete type 'struct mISDNhead' mISDN.h:117: error: forward declaration of 'struct mISDNhead' gsm.cpp: In member function 'void Pgsm::trau_receive(void*)': gsm.cpp:312: error: 'PH_DATA_REQ' was not declared in this scope gsm.cpp: In member function 'virtual int Pgsm::handler()': gsm.cpp:1486: error: 'MISDN_HEADER_LEN' was not declared in this scope gsm.cpp:1487: error: 'buffer' was not declared in this scope gsm.cpp:1502: error: invalid use of incomplete type 'struct mISDNhead' mISDN.h:117: error: forward declaration of 'struct mISDNhead' gsm.cpp:1504: error: 'PH_DATA_CNF' was not declared in this scope gsm.cpp:1507: error: 'PH_DATA_IND' was not declared in this scope gsm.cpp:1510: error: 'PH_ACTIVATE_IND' was not declared in this scope gsm.cpp:1513: error: 'PH_DEACTIVATE_IND' was not declared in this scope gsm.cpp: In function 'int gsm_sock_open(char*)': gsm.cpp:1554: error: aggregate 'sockaddr_mISDN addr' has incomplete type and cannot be defined gsm.cpp:1555: error: aggregate 'mISDN_devinfo devinfo' has incomplete type and cannot be defined gsm.cpp:1559: error: 'IMGETCOUNT' was not declared in this scope gsm.cpp:1577: error: 'IMGETDEVINFO' was not declared in this scope gsm.cpp:1582: error: 'ISDN_P_TE_S0' was not declared in this scope gsm.cpp:1585: error: 'ISDN_P_TE_E1' was not declared in this scope gsm.cpp:1592: error: 'ISDN_P_TE_S0' was not declared in this scope make[1]: *** [gsm.o] Błąd 1 make[1]: Opuszczenie katalogu `/home/user/lcr' make: *** [all] Błąd 2 ------------------------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20091123/e044b1bf/attachment.htm>