<86>Apr 21 00:54:42 userdel[61319]: delete user 'rooter' <86>Apr 21 00:54:42 groupadd[61362]: group added to /etc/group: name=rooter, GID=579 <86>Apr 21 00:54:42 groupadd[61362]: group added to /etc/gshadow: name=rooter <86>Apr 21 00:54:42 groupadd[61362]: new group: name=rooter, GID=579 <86>Apr 21 00:54:42 useradd[61407]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Apr 21 00:54:42 userdel[61548]: delete user 'builder' <86>Apr 21 00:54:42 groupadd[61601]: group added to /etc/group: name=builder, GID=580 <86>Apr 21 00:54:42 groupadd[61601]: group added to /etc/gshadow: name=builder <86>Apr 21 00:54:42 groupadd[61601]: new group: name=builder, GID=580 <86>Apr 21 00:54:42 useradd[61634]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Apr 21 00:54:44 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 00:54:44 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Apr 21 00:54:44 rpmi: flex-2.6.0-alt1 1449073214 installed <13>Apr 21 00:54:44 rpmi: libgsm-devel-1.0.13-alt8 1365910842 installed <13>Apr 21 00:54:44 rpmi: libncurses-devel-5.9-alt8 1456756459 installed Installing mISDN-1.1.5-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72575 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf misdn-1.1.5 + echo 'Source #0 (misdn-1.1.5.tar):' Source #0 (misdn-1.1.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/misdn-1.1.5.tar + cd misdn-1.1.5 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (misdn-1.1.5-alt2.patch):' Patch #1 (misdn-1.1.5-alt2.patch): + /usr/bin/patch -p1 patching file mISDNuser/Makefile patching file mISDNuser/i4lnet/Makefile patching file mISDNuser/lib/Makefile patching file mISDNuser/suppserv/Makefile patching file mISDNuser/voip/Makefile + cp -a mISDN/include/linux mISDNuser/include/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.72575 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd misdn-1.1.5 + export CFLAGS=-fPIC + CFLAGS=-fPIC + cd mISDNuser + subst 's!/usr/lib/libgsm!/usr/lib64/libgsm!' voip/Makefile + subst 's!usr/lib!usr/lib64!' lib/Makefile i4lnet/Makefile + make make: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser' make TARGET=all subdirs make[1]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser' make -C lib all make[2]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/lib' gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o device.o -c device.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o layer.o -c layer.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o stack.o -c stack.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o status.o -c status.c ar cru libmISDN.a device.o layer.o stack.o status.o ranlib libmISDN.a gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o device.lo -c device.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o layer.lo -c layer.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o stack.lo -c stack.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o status.lo -c status.c ar cru libmISDN_pic.a device.lo layer.lo stack.lo status.lo ranlib libmISDN_pic.a gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -shared -Xlinker -x -o libmISDN.so device.o layer.o stack.o status.o make[2]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/lib' make -C i4lnet all make[2]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/i4lnet' gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o net_if.o -c net_if.c net_if.c: In function 'init_timer': net_if.c:168:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] it->id = (int)it; ^ net_if.c: In function 'write_dmsg': net_if.c:290:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] frm->dinfo = (int)msg; ^ net_if.c: In function 'phd_conf': net_if.c:306:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (frm->dinfo == (int)nst->phd_down_msg) { ^ net_if.c: In function 'l1_request': net_if.c:535:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] frm->dinfo = (int)msg; ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o isdn_debug.o -c isdn_debug.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o isdn_msg.o -c isdn_msg.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o fsm.o -c fsm.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o net_l2.o -c net_l2.c net_l2.c: In function 'setva': net_l2.c:424:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] l2up(l2, DL_DATA | CONFIRM, (int)l2->windowar[l2->sow], NULL); ^ net_l2.c: In function 'l2from_up': net_l2.c:1926:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)l2->tei); ^ net_l2.c: At top level: net_l2.c:1993:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l2.c:954:2: warning: 'test_and_clear_bit' is static but used in inline function 'transmit_enquiry' which is not static test_and_clear_bit(FLG_ACK_PEND, &l2->flag); ^ net_l2.c:950:6: warning: 'test_bit' is static but used in inline function 'transmit_enquiry' which is not static if (test_bit(FLG_OWN_BUSY, &l2->flag)) ^ net_l2.c:944:2: warning: 'test_and_clear_bit' is static but used in inline function 'enquiry_response' which is not static test_and_clear_bit(FLG_ACK_PEND, &l2->flag); ^ net_l2.c:940:6: warning: 'test_bit' is static but used in inline function 'enquiry_response' which is not static if (test_bit(FLG_OWN_BUSY, &l2->flag)) ^ net_l2.c:508:34: warning: 'CES' is static but used in inline function 'lapb_dl_release_l2l3' which is not static l2up_create(l2, DL_RELEASE | f, CES(l2), 0, NULL); ^ net_l2.c:508:2: warning: 'l2up_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static l2up_create(l2, DL_RELEASE | f, CES(l2), 0, NULL); ^ net_l2.c:507:3: warning: 'l2down_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static l2down_create(l2, PH_DEACTIVATE | REQUEST, 0, 0, NULL); ^ net_l2.c:506:6: warning: 'test_bit' is static but used in inline function 'lapb_dl_release_l2l3' which is not static if (test_bit(FLG_LAPB, &l2->flag)) ^ net_l2.c:500:22: warning: 'CES' is static but used in inline function 'st5_dl_release_l2l3' which is not static l2up_create(l2, pr, CES(l2), 0, NULL); ^ net_l2.c:500:2: warning: 'l2up_create' is static but used in inline function 'st5_dl_release_l2l3' which is not static l2up_create(l2, pr, CES(l2), 0, NULL); ^ net_l2.c:495:6: warning: 'test_and_clear_bit' is static but used in inline function 'st5_dl_release_l2l3' which is not static if (test_and_clear_bit(FLG_PEND_REL, &l2->flag)) { ^ net_l2.c:486:5: warning: 'test_and_clear_bit' is static but used in inline function 'stop_t200' which is not static if(test_and_clear_bit(FLG_T200_RUN, &l2->flag)) ^ net_l2.c:480:2: warning: 'test_and_set_bit' is static but used in inline function 'restart_t200' which is not static test_and_set_bit(FLG_T200_RUN, &l2->flag); ^ net_l2.c:473:2: warning: 'test_and_set_bit' is static but used in inline function 'start_t200' which is not static test_and_set_bit(FLG_T200_RUN, &l2->flag); ^ net_l2.c:456:20: warning: 'l2addrsize' is static but used in inline function 'get_PollFlag' which is not static return (msg->data[l2addrsize(l2)] & 0x10); ^ net_l2.c:323:10: warning: 'test_bit' is static but used in inline function 'IsRNR' which is not static return (test_bit(FLG_MOD128, &l2->flag) ? data[0] == RNR : (data[0] & 0xf) == RNR); ^ net_l2.c:311:10: warning: 'test_bit' is static but used in inline function 'IsREJ' which is not static return (test_bit(FLG_MOD128, &l2->flag) ? data[0] == REJ : (data[0] & 0xf) == REJ); ^ net_l2.c:305:10: warning: 'test_bit' is static but used in inline function 'IsSABME' which is not static return (test_bit(FLG_MOD128, &l2->flag) ? d == SABME : d == SABM); ^ net_l2.c:296:7: warning: 'test_bit' is static but used in inline function 'IsSFrame' which is not static if (!test_bit(FLG_MOD128, &l2->flag)) ^ net_l2.c:285:6: warning: 'test_bit' is static but used in inline function 'IsRR' which is not static if (test_bit(FLG_MOD128, &l2->flag)) ^ net_l2.c:217:4: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1)); ^ net_l2.c:216:12: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static return (((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + ^ net_l2.c:210:2: warning: 'clear_peer_busy' is static but used in inline function 'clear_exception' which is not static clear_peer_busy(l2); ^ net_l2.c:209:2: warning: 'test_and_clear_bit' is static but used in inline function 'clear_exception' which is not static test_and_clear_bit(FLG_OWN_BUSY, &l2->flag); ^ net_l2.c:208:2: warning: 'test_and_clear_bit' is static but used in inline function 'clear_exception' which is not static test_and_clear_bit(FLG_REJEXC, &l2->flag); ^ net_l2.c:207:2: warning: 'test_and_clear_bit' is static but used in inline function 'clear_exception' which is not static test_and_clear_bit(FLG_ACK_PEND, &l2->flag); ^ net_l2.c:201:32: warning: 'test_bit' is static but used in inline function 'cansend' which is not static return ((p1 < l2->window) && !test_bit(FLG_PEER_BUSY, &l2->flag)); ^ net_l2.c:197:5: warning: 'test_bit' is static but used in inline function 'cansend' which is not static if(test_bit(FLG_MOD128, &l2->flag)) ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o tei.o -c tei.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o net_l3.o -c net_l3.c net_l3.c: In function 'StopAllL3Timer': net_l3.c:190:2: warning: #warning also remove flags: [-Wcpp] #warning also remove flags: ^ net_l3.c: In function 'RemoveAllL3Timer': net_l3.c:208:2: warning: #warning also remove flags: [-Wcpp] #warning also remove flags: ^ net_l3.c: In function 'l3dss1_hold': net_l3.c:1177:11: warning: variable 'hold' set but not used [-Wunused-but-set-variable] HOLD_t *hold; ^ net_l3.c: In function 'l3dss1_t305': net_l3.c:2026:2: warning: #warning : mut we dat sendn? : int t = 0x305; [-Wcpp] #warning: mut we dat sendn? : int t = 0x305; ^ net_l3.c: At top level: net_l3.c:2303:2: warning: #warning bitte beachte folgendes: [-Wcpp] #warning bitte beachte folgendes: ^ net_l3.c: In function 'send_proc': net_l3.c:2570:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rel->CAUSE = cause; ^ net_l3.c: In function 'manager_l3': net_l3.c:2749:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l3.c: At top level: net_l3.c:2856:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l3.c:2897:2: warning: #warning l2_state makes no sense in multipoint environment. shouldnt we use something like l2_state[ces] ? [-Wcpp] #warning l2_state makes no sense in multipoint environment. shouldnt we use something like l2_state[ces] ? ^ net_l3.c: In function 'l3_msg': net_l3.c:2902:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l3.c:2964:2: warning: #warning du musst alle processe releasen CC_RELEASE!!! dies geschieht z.b. wenn man das telefon vom s0-bus abnimmt und der layer-2 dadurch zusammen bricht. [-Wcpp] #warning du musst alle processe releasen CC_RELEASE!!! dies geschieht z.b. wenn man das telefon vom s0-bus abnimmt und der layer-2 dadurch zusammen bricht. ^ net_l3.c:2965:2: warning: #warning geschieht dies auch im TE-mode? [-Wcpp] #warning geschieht dies auch im TE-mode? ^ net_l3.c:2966:2: warning: #warning TODO DL_RELEASE | INDICATION handling; inclusiv special state 10 (T309) [-Wcpp] #warning TODO DL_RELEASE | INDICATION handling; inclusiv special state 10 (T309) ^ net_l3.c: In function 'Isdnl3Init': net_l3.c:3020:2: warning: #warning testing [-Wcpp] #warning testing ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o manager.o -c manager.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o tone.o -c tone.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o bchannel.o -c bchannel.c bchannel.c: In function 'send_setup_ack': bchannel.c:364:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:367:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:367:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_setup': bchannel.c:391:2: warning: #warning testing: more crefs for S2M [-Wcpp] #warning testing: more crefs for S2M ^ bchannel.c:418:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:421:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:421:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_proceeding': bchannel.c:483:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:486:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:486:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_alert': bchannel.c:537:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:540:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:540:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_connect': bchannel.c:587:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:590:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:590:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_connect_ack': bchannel.c:648:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:651:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:651:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_disc': bchannel.c:693:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:696:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:696:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_facility': bchannel.c:731:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:734:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:734:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_rel': bchannel.c:799:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:802:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:802:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_relcomp': bchannel.c:848:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:851:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:851:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'main_bc_task': bchannel.c:1339:22: warning: passing argument 2 of 'dprint' makes integer from pointer without a cast [-Wint-conversion] dprint(DBGM_MAN,"%s: bc%d got CC_TIMEOUT\n", __FUNCTION__, ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:10:0, from bchannel.c:4: /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_debug.h:30:13: note: expected 'int' but argument is of type 'char *' extern int dprint(unsigned int mask, int port, const char *fmt, ...); ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o g711.o -c g711.c ar cru libisdnnet.a net_if.o isdn_debug.o isdn_msg.o fsm.o net_l2.o tei.o net_l3.o manager.o tone.o bchannel.o g711.o ranlib libisdnnet.a gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o net_if.lo -c net_if.c net_if.c: In function 'init_timer': net_if.c:168:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] it->id = (int)it; ^ net_if.c: In function 'write_dmsg': net_if.c:290:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] frm->dinfo = (int)msg; ^ net_if.c: In function 'phd_conf': net_if.c:306:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (frm->dinfo == (int)nst->phd_down_msg) { ^ net_if.c: In function 'l1_request': net_if.c:535:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] frm->dinfo = (int)msg; ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o isdn_debug.lo -c isdn_debug.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o isdn_msg.lo -c isdn_msg.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o fsm.lo -c fsm.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o net_l2.lo -c net_l2.c net_l2.c: In function 'setva': net_l2.c:424:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] l2up(l2, DL_DATA | CONFIRM, (int)l2->windowar[l2->sow], NULL); ^ net_l2.c: In function 'l2from_up': net_l2.c:1926:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)l2->tei); ^ net_l2.c: At top level: net_l2.c:1993:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l2.c:954:2: warning: 'test_and_clear_bit' is static but used in inline function 'transmit_enquiry' which is not static test_and_clear_bit(FLG_ACK_PEND, &l2->flag); ^ net_l2.c:950:6: warning: 'test_bit' is static but used in inline function 'transmit_enquiry' which is not static if (test_bit(FLG_OWN_BUSY, &l2->flag)) ^ net_l2.c:944:2: warning: 'test_and_clear_bit' is static but used in inline function 'enquiry_response' which is not static test_and_clear_bit(FLG_ACK_PEND, &l2->flag); ^ net_l2.c:940:6: warning: 'test_bit' is static but used in inline function 'enquiry_response' which is not static if (test_bit(FLG_OWN_BUSY, &l2->flag)) ^ net_l2.c:508:34: warning: 'CES' is static but used in inline function 'lapb_dl_release_l2l3' which is not static l2up_create(l2, DL_RELEASE | f, CES(l2), 0, NULL); ^ net_l2.c:508:2: warning: 'l2up_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static l2up_create(l2, DL_RELEASE | f, CES(l2), 0, NULL); ^ net_l2.c:507:3: warning: 'l2down_create' is static but used in inline function 'lapb_dl_release_l2l3' which is not static l2down_create(l2, PH_DEACTIVATE | REQUEST, 0, 0, NULL); ^ net_l2.c:506:6: warning: 'test_bit' is static but used in inline function 'lapb_dl_release_l2l3' which is not static if (test_bit(FLG_LAPB, &l2->flag)) ^ net_l2.c:500:22: warning: 'CES' is static but used in inline function 'st5_dl_release_l2l3' which is not static l2up_create(l2, pr, CES(l2), 0, NULL); ^ net_l2.c:500:2: warning: 'l2up_create' is static but used in inline function 'st5_dl_release_l2l3' which is not static l2up_create(l2, pr, CES(l2), 0, NULL); ^ net_l2.c:495:6: warning: 'test_and_clear_bit' is static but used in inline function 'st5_dl_release_l2l3' which is not static if (test_and_clear_bit(FLG_PEND_REL, &l2->flag)) { ^ net_l2.c:486:5: warning: 'test_and_clear_bit' is static but used in inline function 'stop_t200' which is not static if(test_and_clear_bit(FLG_T200_RUN, &l2->flag)) ^ net_l2.c:480:2: warning: 'test_and_set_bit' is static but used in inline function 'restart_t200' which is not static test_and_set_bit(FLG_T200_RUN, &l2->flag); ^ net_l2.c:473:2: warning: 'test_and_set_bit' is static but used in inline function 'start_t200' which is not static test_and_set_bit(FLG_T200_RUN, &l2->flag); ^ net_l2.c:456:20: warning: 'l2addrsize' is static but used in inline function 'get_PollFlag' which is not static return (msg->data[l2addrsize(l2)] & 0x10); ^ net_l2.c:323:10: warning: 'test_bit' is static but used in inline function 'IsRNR' which is not static return (test_bit(FLG_MOD128, &l2->flag) ? data[0] == RNR : (data[0] & 0xf) == RNR); ^ net_l2.c:311:10: warning: 'test_bit' is static but used in inline function 'IsREJ' which is not static return (test_bit(FLG_MOD128, &l2->flag) ? data[0] == REJ : (data[0] & 0xf) == REJ); ^ net_l2.c:305:10: warning: 'test_bit' is static but used in inline function 'IsSABME' which is not static return (test_bit(FLG_MOD128, &l2->flag) ? d == SABME : d == SABM); ^ net_l2.c:296:7: warning: 'test_bit' is static but used in inline function 'IsSFrame' which is not static if (!test_bit(FLG_MOD128, &l2->flag)) ^ net_l2.c:285:6: warning: 'test_bit' is static but used in inline function 'IsRR' which is not static if (test_bit(FLG_MOD128, &l2->flag)) ^ net_l2.c:217:4: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1)); ^ net_l2.c:216:12: warning: 'test_bit' is static but used in inline function 'l2headersize' which is not static return (((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + ^ net_l2.c:210:2: warning: 'clear_peer_busy' is static but used in inline function 'clear_exception' which is not static clear_peer_busy(l2); ^ net_l2.c:209:2: warning: 'test_and_clear_bit' is static but used in inline function 'clear_exception' which is not static test_and_clear_bit(FLG_OWN_BUSY, &l2->flag); ^ net_l2.c:208:2: warning: 'test_and_clear_bit' is static but used in inline function 'clear_exception' which is not static test_and_clear_bit(FLG_REJEXC, &l2->flag); ^ net_l2.c:207:2: warning: 'test_and_clear_bit' is static but used in inline function 'clear_exception' which is not static test_and_clear_bit(FLG_ACK_PEND, &l2->flag); ^ net_l2.c:201:32: warning: 'test_bit' is static but used in inline function 'cansend' which is not static return ((p1 < l2->window) && !test_bit(FLG_PEER_BUSY, &l2->flag)); ^ net_l2.c:197:5: warning: 'test_bit' is static but used in inline function 'cansend' which is not static if(test_bit(FLG_MOD128, &l2->flag)) ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o tei.lo -c tei.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o net_l3.lo -c net_l3.c net_l3.c: In function 'StopAllL3Timer': net_l3.c:190:2: warning: #warning also remove flags: [-Wcpp] #warning also remove flags: ^ net_l3.c: In function 'RemoveAllL3Timer': net_l3.c:208:2: warning: #warning also remove flags: [-Wcpp] #warning also remove flags: ^ net_l3.c: In function 'l3dss1_hold': net_l3.c:1177:11: warning: variable 'hold' set but not used [-Wunused-but-set-variable] HOLD_t *hold; ^ net_l3.c: In function 'l3dss1_t305': net_l3.c:2026:2: warning: #warning : mut we dat sendn? : int t = 0x305; [-Wcpp] #warning: mut we dat sendn? : int t = 0x305; ^ net_l3.c: At top level: net_l3.c:2303:2: warning: #warning bitte beachte folgendes: [-Wcpp] #warning bitte beachte folgendes: ^ net_l3.c: In function 'send_proc': net_l3.c:2570:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rel->CAUSE = cause; ^ net_l3.c: In function 'manager_l3': net_l3.c:2749:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l3.c: At top level: net_l3.c:2856:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l3.c:2897:2: warning: #warning l2_state makes no sense in multipoint environment. shouldnt we use something like l2_state[ces] ? [-Wcpp] #warning l2_state makes no sense in multipoint environment. shouldnt we use something like l2_state[ces] ? ^ net_l3.c: In function 'l3_msg': net_l3.c:2902:2: warning: #warning testing [-Wcpp] #warning testing ^ net_l3.c:2964:2: warning: #warning du musst alle processe releasen CC_RELEASE!!! dies geschieht z.b. wenn man das telefon vom s0-bus abnimmt und der layer-2 dadurch zusammen bricht. [-Wcpp] #warning du musst alle processe releasen CC_RELEASE!!! dies geschieht z.b. wenn man das telefon vom s0-bus abnimmt und der layer-2 dadurch zusammen bricht. ^ net_l3.c:2965:2: warning: #warning geschieht dies auch im TE-mode? [-Wcpp] #warning geschieht dies auch im TE-mode? ^ net_l3.c:2966:2: warning: #warning TODO DL_RELEASE | INDICATION handling; inclusiv special state 10 (T309) [-Wcpp] #warning TODO DL_RELEASE | INDICATION handling; inclusiv special state 10 (T309) ^ net_l3.c: In function 'Isdnl3Init': net_l3.c:3020:2: warning: #warning testing [-Wcpp] #warning testing ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o manager.lo -c manager.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o tone.lo -c tone.c gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o bchannel.lo -c bchannel.c bchannel.c: In function 'send_setup_ack': bchannel.c:364:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:367:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:367:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_setup': bchannel.c:391:2: warning: #warning testing: more crefs for S2M [-Wcpp] #warning testing: more crefs for S2M ^ bchannel.c:418:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:421:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:421:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_proceeding': bchannel.c:483:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:486:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:486:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_alert': bchannel.c:537:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:540:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:540:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_connect': bchannel.c:587:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:590:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:590:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_connect_ack': bchannel.c:648:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:651:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:651:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_disc': bchannel.c:693:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:696:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:696:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_facility': bchannel.c:731:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:734:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:734:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_rel': bchannel.c:799:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:802:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:802:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'send_relcomp': bchannel.c:848:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ bchannel.c:851:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c:851:13: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, bc->display); ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/ibuffer.h:6:0, from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:11, from bchannel.c:4: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ bchannel.c: In function 'main_bc_task': bchannel.c:1339:22: warning: passing argument 2 of 'dprint' makes integer from pointer without a cast [-Wint-conversion] dprint(DBGM_MAN,"%s: bc%d got CC_TIMEOUT\n", __FUNCTION__, ^ In file included from /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:10:0, from bchannel.c:4: /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_debug.h:30:13: note: expected 'int' but argument is of type 'char *' extern int dprint(unsigned int mask, int port, const char *fmt, ...); ^ gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -fPIC -o g711.lo -c g711.c ar cru libisdnnet_pic.a net_if.lo isdn_debug.lo isdn_msg.lo fsm.lo net_l2.lo tei.lo net_l3.lo manager.lo tone.lo bchannel.lo g711.lo ranlib libisdnnet_pic.a gcc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -fPIC -shared -Xlinker -x -o libisdnnet.so net_if.o isdn_debug.o isdn_msg.o fsm.o net_l2.o tei.o net_l3.o manager.o tone.o bchannel.o g711.o -L../lib -lmISDN -lpthread make[2]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/i4lnet' set -e; for i in lib example i4lnet tenovis voip suppserv debugtool ; do make -C $i all; done make[2]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/lib' make[2]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/example' cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o testcon.o testcon.c testcon.c: In function 'do_connection': testcon.c:475:12: warning: variable 'rfrm' set but not used [-Wunused-but-set-variable] iframe_t *rfrm; ^ cc -L../lib -L../i4lnet -L../lib -L../i4lnet testcon.o -lmISDN -lisdnnet -lmISDN -lisdnnet -o testcon cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o testcon_l2.o testcon_l2.c testcon_l2.c: In function 'send_data': testcon_l2.c:128:21: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if (!(data = fgets(buf + mISDN_HEADER_LEN, MAX_DATA_BUF, di->fplay))) { ^ In file included from testcon_l2.c:3:0: /usr/include/stdio.h:622:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ testcon_l2.c:128:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(data = fgets(buf + mISDN_HEADER_LEN, MAX_DATA_BUF, di->fplay))) { ^ testcon_l2.c:135:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(data); ^ In file included from testcon_l2.c:11:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ testcon_l2.c: In function 'send_SETUP': testcon_l2.c:219:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] np = PNr; ^ testcon_l2.c:220:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] *p++ = strlen(np) + 1; ^ In file included from testcon_l2.c:11:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ testcon_l2.c: In function 'do_connection': testcon_l2.c:460:12: warning: variable 'rfrm' set but not used [-Wunused-but-set-variable] iframe_t *rfrm; ^ cc -L../lib -L../i4lnet -L../lib -L../i4lnet testcon_l2.o -lmISDN -lisdnnet -lmISDN -lisdnnet -o testcon_l2 cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o testlayer3.o testlayer3.c cc -L../lib -L../i4lnet -L../lib -L../i4lnet testlayer3.o -lmISDN -lisdnnet -lmISDN -lisdnnet -o testlayer3 cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o loadfirm.o loadfirm.c loadfirm.c: In function 'download_firmware': loadfirm.c:48:17: warning: variable 'p' set but not used [-Wunused-but-set-variable] unsigned char *p, buf[2048], rbuf[128]; ^ loadfirm.c: In function 'read_firmware': loadfirm.c:203:23: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if (!(infile = fopen(fname, "rb"))) { ^ In file included from loadfirm.c:1:0: /usr/include/stdio.h:272:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^ loadfirm.c: In function 'main': loadfirm.c:286:22: warning: pointer targets in passing argument 1 of 'read_firmware' differ in signedness [-Wpointer-sign] len = read_firmware(FileName); ^ loadfirm.c:198:1: note: expected 'unsigned char *' but argument is of type 'char *' read_firmware(unsigned char *fname) ^ cc -L../lib -L../i4lnet -L../lib -L../i4lnet loadfirm.o -lmISDN -lisdnnet -lmISDN -lisdnnet -o loadfirm cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o sendhwctrl.o sendhwctrl.c sendhwctrl.c: In function 'send_primitiv': sendhwctrl.c:45:17: warning: unused variable 'p' [-Wunused-variable] unsigned char *p, buf[2048], rbuf[128]; ^ cc -L../lib -L../i4lnet -L../lib -L../i4lnet sendhwctrl.o -lmISDN -lisdnnet -lmISDN -lisdnnet -o sendhwctrl cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o testlayer1.o testlayer1.c testlayer1.c: In function 'do_setup': testlayer1.c:200:11: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] printf(stdout, "unable to activate layer1 (TIMEOUT)\n"); ^ In file included from testlayer1.c:9:0: /usr/include/stdio.h:362:12: note: expected 'const char * restrict' but argument is of type 'struct _IO_FILE *' extern int printf (const char *__restrict __format, ...); ^ cc -L../lib -L../i4lnet -L../lib -L../i4lnet testlayer1.o -lmISDN -lisdnnet -lmISDN -lisdnnet -o testlayer1 cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o misdnportinfo.o misdnportinfo.c cc -L../lib -L../i4lnet -L../lib -L../i4lnet misdnportinfo.o -lmISDN -lisdnnet -lmISDN -lisdnnet -o misdnportinfo make[2]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/example' make[2]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/i4lnet' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/i4lnet' make[2]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/tenovis' make -C lib lib make[3]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/tenovis/lib' cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o tenovis_device.o tenovis_device.c cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o tenovis_intern.o tenovis_intern.c tenovis_intern.c: In function 'shutdown_tdevice': tenovis_intern.c:243:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ tenovis_intern.c: In function 'intern_read': tenovis_intern.c:270:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ rm -f libtenovis.a ar -r libtenovis.a tenovis_device.o tenovis_intern.o ar: creating libtenovis.a ar -s libtenovis.a make[3]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/tenovis/lib' cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o testlib.o testlib.c cc -L../lib -L../i4lnet -L../lib -L../i4lnet testlib.o lib/libtenovis.a -lmISDN -lisdnnet -lmISDN -lisdnnet -o testlib cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -c -o tstlib.o tstlib.c tstlib.c: In function 'main': tstlib.c:124:10: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(imsg, 2048, stdin); ^ In file included from tstlib.c:1:0: /usr/include/stdio.h:622:14: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ cc -L../lib -L../i4lnet -L../lib -L../i4lnet tstlib.o lib/libtenovis.a -lmISDN -lisdnnet -lmISDN -lisdnnet -o tstlib make[2]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/tenovis' make[2]: Entering directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/voip' cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -g -DHEXDUMP -DInternet_Port=2074 -O3 -DLINUX -DM_LITTLE_ENDIAN -DGSM_COMPRESSION -c -o voip_isdn.o voip_isdn.c voip_isdn.c: In function 'route_call': voip_isdn.c:448:27: warning: passing argument 2 of 'display_NR_IE' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] display_NR_IE(bc->msn, __FUNCTION__, ": msn"); ^ In file included from voip_isdn.c:16:0: /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:204:14: note: expected 'char *' but argument is of type 'const char *' extern void display_NR_IE(u_char *, char *, char *); ^ voip_isdn.c:449:27: warning: passing argument 2 of 'display_NR_IE' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] display_NR_IE(bc->nr, __FUNCTION__, ": nr"); ^ In file included from voip_isdn.c:16:0: /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include/isdn_net.h:204:14: note: expected 'char *' but argument is of type 'const char *' extern void display_NR_IE(u_char *, char *, char *); ^ voip_isdn.c:497:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(bc->display,"connect to AUDIO"); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from voip_isdn.c:1: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ voip_isdn.c: In function 'connect_call': voip_isdn.c:533:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(bc->display,"connect to %s", bc->usednr->name); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from voip_isdn.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -g -DHEXDUMP -DInternet_Port=2074 -O3 -DLINUX -DM_LITTLE_ENDIAN -DGSM_COMPRESSION -c -o rtpacket.o rtpacket.c rtpacket.c: In function 'isrtp': rtpacket.c:89:11: warning: variable 'paylen' set but not used [-Wunused-but-set-variable] int lex, paylen; ^ rtpacket.c:88:17: warning: variable 'payload' set but not used [-Wunused-but-set-variable] unsigned char *payload; ^ rtpacket.c:59:11: warning: variable 'r_ts' set but not used [-Wunused-but-set-variable] r_seq, r_ts; ^ rtpacket.c:59:4: warning: variable 'r_seq' set but not used [-Wunused-but-set-variable] r_seq, r_ts; ^ rtpacket.c:58:45: warning: variable 'r_m' set but not used [-Wunused-but-set-variable] unsigned int r_version, r_p, r_x, r_cc, r_m, r_pt, ^ rtpacket.c: In function 'rtp_make_bye': rtpacket.c:591:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] if (pl > l) { ^ rtpacket.c: In function 'rtp_make_app': rtpacket.c:668:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] if (pl > l) { ^ cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -g -DHEXDUMP -DInternet_Port=2074 -O3 -DLINUX -DM_LITTLE_ENDIAN -DGSM_COMPRESSION -c -o voip_timer.o voip_timer.c flex -8 cfg.lex mv lex.yy.c cfg_lex.c cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -g -DHEXDUMP -DInternet_Port=2074 -O3 -DLINUX -DM_LITTLE_ENDIAN -DGSM_COMPRESSION -c -o read_cfg.o read_cfg.c read_cfg.c: In function 'add_cfgnr': read_cfg.c:70:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(nr->nr, t); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from read_cfg.c:1: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ read_cfg.c: In function 'add_cfgname': read_cfg.c:86:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(nr->name, t); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from read_cfg.c:1: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ In file included from read_cfg.c:29:0: read_cfg.c: At top level: lex.yy.c:1351:17: warning: 'yyunput' defined but not used [-Wunused-function] lex.yy.c:1394:16: warning: 'input' defined but not used [-Wunused-function] cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -g -DHEXDUMP -DInternet_Port=2074 -O3 -DLINUX -DM_LITTLE_ENDIAN -DGSM_COMPRESSION -c -o voip_appl.o voip_appl.c voip_appl.c: In function 'receive_ctrl': voip_appl.c:451:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ssrc = ntohl(*((unsigned long *)&v->buf.d[4])); ^ voip_appl.c: In function 'voipscan': voip_appl.c:1328:38: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 0, (struct sockaddr *) &v->from, &v->fromlen); ^ In file included from /usr/include/sys/socket.h:280:0, from voip_appl.c:9: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^ voip_appl.c:1342:38: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 0, (struct sockaddr *) &v->from, &v->fromlen); ^ In file included from /usr/include/sys/socket.h:280:0, from voip_appl.c:9: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^ voip_appl.c: In function 'run_voip': voip_appl.c:1360:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ voip_appl.c: In function 'voip_sender': voip_appl.c:1539:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return((void *)ret); ^ voip_appl.c: In function 'my_random_ul': voip_appl.c:192:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(rd, &r, sizeof(r)); ^ cc -g -Wall -I /usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/include -I ../mISDN/include -D CLOSE_REPORT=1 -fPIC -g -DHEXDUMP -DInternet_Port=2074 -O3 -DLINUX -DM_LITTLE_ENDIAN -DGSM_COMPRESSION -c -o voip_isdn_app.o voip_isdn_app.c voip_isdn_app.c: In function 'setup_voip_ocall': voip_isdn_app.c:184:32: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] if ((addr.s_addr = inet_addr(bc->usednr->name)) == -1) { ^ In file included from voip_isdn_app.c:7:0: /usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'unsigned char *' extern in_addr_t inet_addr (const char *__cp) __THROW; ^ voip_isdn_app.c:185:22: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] h = gethostbyname(bc->usednr->name); ^ In file included from voip_isdn_app.c:8:0: /usr/include/netdb.h:144:24: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct hostent *gethostbyname (const char *__name); ^ voip_isdn_app.c: In function 'parse_isdn_setup': voip_isdn_app.c:290:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(bc->display, appl->con->con_hostname); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from voip_isdn_app.c:1: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ voip_isdn_app.c: In function 'parse_isdn_alert': voip_isdn_app.c:309:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(bc->display, bc->usednr->name); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from voip_isdn_app.c:1: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ voip_isdn_app.c:309:23: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(bc->display, bc->usednr->name); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from voip_isdn_app.c:1: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ cc -fPIC voip_isdn.o rtpacket.o voip_timer.o read_cfg.o voip_appl.o voip_isdn_app.o /usr/lib64/libgsm.so \ -o voipisdn -lncurses -lm -lrt -lpthread -lmISDN -lisdnnet -lmISDN -lisdnnet -L../lib -L../i4lnet -L../lib -L../i4lnet ../i4lnet/libisdnnet.so: undefined reference to `st5_dl_release_l2l3' ../i4lnet/libisdnnet.so: undefined reference to `IsDISC' ../i4lnet/libisdnnet.so: undefined reference to `enquiry_response' ../i4lnet/libisdnnet.so: undefined reference to `transmit_enquiry' ../i4lnet/libisdnnet.so: undefined reference to `IsUA' ../i4lnet/libisdnnet.so: undefined reference to `IsUI' ../i4lnet/libisdnnet.so: undefined reference to `lapb_dl_release_l2l3' ../i4lnet/libisdnnet.so: undefined reference to `restart_t200' ../i4lnet/libisdnnet.so: undefined reference to `cansend' ../i4lnet/libisdnnet.so: undefined reference to `IsREJ' ../i4lnet/libisdnnet.so: undefined reference to `get_PollFlag' ../i4lnet/libisdnnet.so: undefined reference to `clear_exception' ../i4lnet/libisdnnet.so: undefined reference to `l2headersize' ../i4lnet/libisdnnet.so: undefined reference to `get_PollFlagFree' ../i4lnet/libisdnnet.so: undefined reference to `stop_t200' ../i4lnet/libisdnnet.so: undefined reference to `IsSABME' ../i4lnet/libisdnnet.so: undefined reference to `IsRNR' ../i4lnet/libisdnnet.so: undefined reference to `IsSFrame' ../i4lnet/libisdnnet.so: undefined reference to `IsDM' ../i4lnet/libisdnnet.so: undefined reference to `IsFRMR' collect2: error: ld returned 1 exit status make[2]: *** [voipisdn] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser/voip' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser' make: *** [all] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/misdn-1.1.5/mISDNuser' error: Bad exit status from /usr/src/tmp/rpm-tmp.72575 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.72575 (%build) Command exited with non-zero status 1 3.67user 0.61system 0:05.73elapsed 74%CPU (0avgtext+0avgdata 36000maxresident)k 0inputs+0outputs (0major+236304minor)pagefaults 0swaps hsh-rebuild: rebuild of `mISDN-1.1.5-alt2.src.rpm' failed. Command exited with non-zero status 1 6.08user 2.12system 0:10.46elapsed 78%CPU (0avgtext+0avgdata 121808maxresident)k 0inputs+0outputs (0major+414081minor)pagefaults 0swaps