Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 624296 Details for
Bug 713958
net-analyzer/tptest-3.1.7-r2 : server.c: error: O_RDWR undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:tptest-3.1.7-r2:20200322-035651.log
net-analyzer:tptest-3.1.7-r2:20200322-035651.log (text/plain), 33.66 KB, created by
Toralf Förster
on 2020-03-22 12:41:11 UTC
(
hide
)
Description:
net-analyzer:tptest-3.1.7-r2:20200322-035651.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-22 12:41:11 UTC
Size:
33.66 KB
patch
obsolete
> * Package: net-analyzer/tptest-3.1.7-r2 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking tptest-3.1.7.tar.gz to /var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work >>>> Preparing source in /var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7 ... > * Applying tptest-3.1.7-getstatsfromlinevuln.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7 ... >make -j1 -C apps/unix/client CC=x86_64-gentoo-linux-musl-gcc 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' >make: Entering directory '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7/apps/unix/client' >cp -f ../../../os-dep/unix/tpio_unix.c . >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o tpio_unix.o tpio_unix.c >tpio_unix.c: In function âConsumeUDPDataâ: >tpio_unix.c:228:30: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness [-Wpointer-sign] > 228 | 0, (SOCKADDR *)&fromAdr, &fromLen); > | ^~~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:395:84: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 395 | void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ > >tpio_unix.c:320:29: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness [-Wpointer-sign] > 320 | 0, (SOCKADDR *)&fromAdr, &fromLen); > | ^~~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:395:84: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 395 | void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ > >tpio_unix.c:180:9: warning: variable âretâ set but not used [-Wunused-but-set-variable] > 180 | int ret; > | ^~~ >tpio_unix.c: In function âAcceptClientâ: >tpio_unix.c:497:54: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > 497 | s = accept(s, (SOCKADDR *)&clientSa, &saLen); > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:386:47: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 386 | int accept (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:532:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 532 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:538:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 538 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c: In function âSendCtrlDataâ: >tpio_unix.c:758:9: warning: variable âpâ set but not used [-Wunused-but-set-variable] > 758 | char * p; > | ^ >tpio_unix.c: In function âInitUDPâ: >tpio_unix.c:970:64: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 970 | if( getsockname( w->udpRecvSock, (struct sockaddr *)(&rcvSa), &saLen ) != 0 ) { > | ^~~~~~ > | | > | int * > >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:992:64: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 992 | if( getsockname( w->udpSendSock, (struct sockaddr *)(&rcvSa), &saLen ) != 0 ) { > | ^~~~~~ > | | > | int * > >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1010:29: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1010 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1018:29: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1018 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c: In function âInitTCPSockâ: >tpio_unix.c:1103:57: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 1103 | if (getsockname(w->tcpCtrlSock, (SOCKADDR *)(&locSa), &saLen) == SOCKET_ERROR) > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1127:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1127 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1133:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1133 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1182:63: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 1182 | if (getsockname(w->tcpServerCtrlSock, (SOCKADDR *)(&locSa), &saLen) == SOCKET_ERROR) > | ^~~~~~ > | | > | int * > >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1221:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1221 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1227:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1227 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1243:63: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 1243 | ret = getsockname(w->tcpServerDataSock, (SOCKADDR *)&locSa, &saLen); > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1057:16: warning: variable âlingâ set but not used [-Wunused-but-set-variable] > 1057 | struct linger ling; > | ^~~~ >tpio_unix.c: In function âConsumeCtrlDataâ: >tpio_unix.c:826:4: warning: âstrncpyâ output may be truncated copying 511 bytes from a string of length 4095 [-Wstringop-truncation] > 826 | strncpy(engp->ctrlMessage, w->replyBuf, REPLYBUFSIZE-1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cp -f ../../../engine/tpengine.c . >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o tpengine.o tpengine.c >tpengine.c: In function âDoServerUDPSendâ: >tpengine.c:1073:9: warning: variable âresâ set but not used [-Wunused-but-set-variable] > 1073 | int res; > | ^~~ >tpengine.c: In function âDoServerUDPRecvâ: >tpengine.c:1254:9: warning: variable âresâ set but not used [-Wunused-but-set-variable] > 1254 | int res; > | ^~~ >tpengine.c: In function âAddServerToList.part.0â: >tpengine.c:1784:3: warning: âstrncpyâ output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] > 1784 | strncpy(engp->serverInfoList[engp->numServers], tBuf, MAX_SERVER_INFO); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cp -f ../../../engine/tpcommon.c . >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o tpcommon.o tpcommon.c >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o client.o client.c >client.c: In function âmainâ: >client.c:113:10: warning: variable âtmpâ set but not used [-Wunused-but-set-variable] > 113 | double tmp; > | ^~~ >client.c:426:5: warning: âselectedModeâ may be used uninitialized in this function [-Wmaybe-uninitialized] > 426 | ReportResults(selectedMode, engp, &starttime, &stoptime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cp -f ../../../engine/tpclient.c . >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o tpclient.o tpclient.c >tpclient.c: In function âAdvanceTestâ: >tpclient.c:456:48: warning: âmsRecvâ may be used uninitialized in this function [-Wmaybe-uninitialized] > 456 | ((float)(engp->tcpBytes) * (20000.0 / (float)msRecv)) > | ^~~~~~~~~~~~~ >tpclient.c:489:31: warning: âBytesPerSecondRecvâ may be used uninitialized in this function [-Wmaybe-uninitialized] > 489 | LastBytesPerSecondRecv = BytesPerSecondRecv; > | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o getopt.o getopt.c >x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -o tptestclient tpio_unix.o tpengine.o tpcommon.o client.o tpclient.o getopt.o >make: Leaving directory '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7/apps/unix/client' >make -j1 -C apps/unix/server CC=x86_64-gentoo-linux-musl-gcc 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' >make: Entering directory '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7/apps/unix/server' >cp -f ../../../os-dep/unix/tpio_unix.c . >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o tpio_unix.o tpio_unix.c >tpio_unix.c: In function âConsumeUDPDataâ: >tpio_unix.c:228:30: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness [-Wpointer-sign] > 228 | 0, (SOCKADDR *)&fromAdr, &fromLen); > | ^~~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:395:84: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 395 | void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ > >tpio_unix.c:320:29: warning: pointer targets in passing argument 6 of ârecvfromâ differ in signedness [-Wpointer-sign] > 320 | 0, (SOCKADDR *)&fromAdr, &fromLen); > | ^~~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:395:84: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 395 | void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ > >tpio_unix.c:180:9: warning: variable âretâ set but not used [-Wunused-but-set-variable] > 180 | int ret; > | ^~~ >tpio_unix.c: In function âAcceptClientâ: >tpio_unix.c:497:54: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > 497 | s = accept(s, (SOCKADDR *)&clientSa, &saLen); > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:386:47: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 386 | int accept (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:532:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 532 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:538:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 538 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c: In function âSendCtrlDataâ: >tpio_unix.c:758:9: warning: variable âpâ set but not used [-Wunused-but-set-variable] > 758 | char * p; > | ^ >tpio_unix.c: In function âInitUDPâ: >tpio_unix.c:970:64: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 970 | if( getsockname( w->udpRecvSock, (struct sockaddr *)(&rcvSa), &saLen ) != 0 ) { > | ^~~~~~ > | | > | int * > >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:992:64: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 992 | if( getsockname( w->udpSendSock, (struct sockaddr *)(&rcvSa), &saLen ) != 0 ) { > | ^~~~~~ > | | > | int * > >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1010:29: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1010 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1018:29: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1018 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c: In function âInitTCPSockâ: >tpio_unix.c:1103:57: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 1103 | if (getsockname(w->tcpCtrlSock, (SOCKADDR *)(&locSa), &saLen) == SOCKET_ERROR) > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1127:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1127 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1133:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1133 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1182:63: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 1182 | if (getsockname(w->tcpServerCtrlSock, (SOCKADDR *)(&locSa), &saLen) == SOCKET_ERROR) > | ^~~~~~ > | | > | int * > >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1221:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1221 | &engp->cur_socket_sndbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1227:30: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > 1227 | &engp->cur_socket_rcvbuf, &optlen); > | ^~~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:399:50: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 399 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1243:63: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 1243 | ret = getsockname(w->tcpServerDataSock, (SOCKADDR *)&locSa, &saLen); > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from tpio_unix.c:40: >/usr/include/sys/socket.h:389:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 389 | int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >tpio_unix.c:1057:16: warning: variable âlingâ set but not used [-Wunused-but-set-variable] > 1057 | struct linger ling; > | ^~~~ >tpio_unix.c: In function âConsumeCtrlDataâ: >tpio_unix.c:826:4: warning: âstrncpyâ output may be truncated copying 511 bytes from a string of length 4095 [-Wstringop-truncation] > 826 | strncpy(engp->ctrlMessage, w->replyBuf, REPLYBUFSIZE-1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cp -f ../../../engine/tpengine.c . >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o tpengine.o tpengine.c >tpengine.c: In function âDoServerUDPSendâ: >tpengine.c:1073:9: warning: variable âresâ set but not used [-Wunused-but-set-variable] > 1073 | int res; > | ^~~ >tpengine.c: In function âDoServerUDPRecvâ: >tpengine.c:1254:9: warning: variable âresâ set but not used [-Wunused-but-set-variable] > 1254 | int res; > | ^~~ >tpengine.c: In function âAddServerToList.part.0â: >tpengine.c:1784:3: warning: âstrncpyâ output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] > 1784 | strncpy(engp->serverInfoList[engp->numServers], tBuf, MAX_SERVER_INFO); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cp -f ../../../engine/tpcommon.c . >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o tpcommon.o tpcommon.c >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -c -o server.o server.c >server.c: In function âDoSessionâ: >server.c:246:59: warning: pointer targets in passing argument 3 of âgetpeernameâ differ in signedness [-Wpointer-sign] > 246 | if( getpeername( CtrlSock, (struct sockaddr *)(&LocSa), &SaLen ) != 0 ) { > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from server.c:63: >/usr/include/sys/socket.h:390:52: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 390 | int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >server.c:231:14: warning: variable âstateâ set but not used [-Wunused-but-set-variable] > 231 | int SaLen, state; > | ^~~~~ >server.c: In function âServerModeâ: >server.c:496:7: warning: implicit declaration of function âopenâ; did you mean âpopenâ? [-Wimplicit-function-declaration] > 496 | i = open( "/dev/tty", O_RDWR ); > | ^~~~ > | popen >server.c:496:25: error: âO_RDWRâ undeclared (first use in this function) > 496 | i = open( "/dev/tty", O_RDWR ); > | ^~~~~~ >server.c:496:25: note: each undeclared identifier is reported only once for each function it appears in >server.c:522:63: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > 522 | NewSock = accept( CtrlSock, (struct sockaddr *)(&CtrlSa), &SaLen ); > | ^~~~~~ > | | > | int * >In file included from ../../../engine/tpengine.h:68, > from server.c:63: >/usr/include/sys/socket.h:386:47: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 386 | int accept (int, struct sockaddr *__restrict, socklen_t *__restrict); > | ^ >make: *** [<builtin>: server.o] Error 1 >make: Leaving directory '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7/apps/unix/server' > * ERROR: net-analyzer/tptest-3.1.7-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/tptest-3.1.7-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/tptest-3.1.7-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:tptest-3.1.7-r2:20200322-035651.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7' > * S: '/var/tmp/portage/net-analyzer/tptest-3.1.7-r2/work/tptest-3.1.7'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 713958
:
624288
|
624290
|
624292
|
624294
| 624296 |
624298