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