Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes have-af.c -lm -lpthread -o have-af
- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -shared -fPIC tapetest.c -o tapetest.so -lm -lpthread
- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -c network.c -o build/network.o
- network.c: In function ‘initNetworkInput’:
- network.c:119:18: warning: unused variable ‘sock’ [-Wunused-variable]
- 119 | int err, sock = -1, l;
- | ^~~~
- network.c:119:13: warning: unused variable ‘err’ [-Wunused-variable]
- 119 | int err, sock = -1, l;
- | ^~~
- network.c: In function ‘createNetworkOutput’:
- network.c:340:112: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
- 340 | inet_ntop(x->ai_family,AF_INET == x->ai_family ? &((struct sockaddr_in *)x->ai_addr)->sin_addr : &((struct sockaddr_in6 *)x->ai_addr)->sin6_addr,addrstr,sizeof(addrstr));
- | ^
- network.c:340:66: note: first expression has type ‘struct in_addr *’
- 340 | inet_ntop(x->ai_family,AF_INET == x->ai_family ? &((struct sockaddr_in *)x->ai_addr)->sin_addr : &((struct sockaddr_in6 *)x->ai_addr)->sin6_addr,addrstr,sizeof(addrstr));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- network.c:340:114: note: second expression has type ‘struct in6_addr *’
- 340 | inet_ntop(x->ai_family,AF_INET == x->ai_family ? &((struct sockaddr_in *)x->ai_addr)->sin_addr : &((struct sockaddr_in6 *)x->ai_addr)->sin6_addr,addrstr,sizeof(addrstr));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- make: *** [Makefile:60: build/network.o] Error 1
- make: *** Waiting for unfinished jobs....
- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -shared -g -fPIC idev.c -o idev.so -lm -lpthread
- error:
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.CHNg5a (%build)
- Bad exit status from /var/tmp/rpm-tmp.CHNg5a (%build)
- Finish: rpmbuild mbuffer-20240929-1.fc42.src.rpm
- Finish: build phase for mbuffer-20240929-1.fc42.src.rpm
Advertisement
Add Comment
Please, Sign In to add comment