Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 744702 Details for
Bug 817968
app-emulation/nemu-3.0.0 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
1-CMakeError.log
1-CMakeError.log (text/plain), 4.33 KB, created by
Agostino Sarubbo
on 2021-10-13 07:37:59 UTC
(
hide
)
Description:
1-CMakeError.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2021-10-13 07:37:59 UTC
Size:
4.33 KB
patch
obsolete
>Determining if the function cbreak exists in the /usr/lib64/libncursesw.so failed with the following output: >Change Dir: /var/tmp/portage/app-emulation/nemu-3.0.0/work/nemu-3.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_0b229 && [1/2] Building C object CMakeFiles/cmTC_0b229.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_0b229 >FAILED: cmTC_0b229 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -DCHECK_FUNCTION_EXISTS=cbreak -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_0b229.dir/CheckFunctionExists.c.o -o cmTC_0b229 -lncursesw && : >/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_0b229.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `cbreak' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function nodelay exists in the /usr/lib64/libncursesw.so failed with the following output: >Change Dir: /var/tmp/portage/app-emulation/nemu-3.0.0/work/nemu-3.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_3c2c1 && [1/2] Building C object CMakeFiles/cmTC_3c2c1.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_3c2c1 >FAILED: cmTC_3c2c1 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -DCHECK_FUNCTION_EXISTS=nodelay -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_3c2c1.dir/CheckFunctionExists.c.o -o cmTC_3c2c1 -lncursesw && : >/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3c2c1.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `nodelay' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /var/tmp/portage/app-emulation/nemu-3.0.0/work/nemu-3.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_2a6ec && [1/2] Building C object CMakeFiles/cmTC_2a6ec.dir/src.c.o >[2/2] Linking C executable cmTC_2a6ec >FAILED: cmTC_2a6ec >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_2a6ec.dir/src.c.o -o cmTC_2a6ec && : >/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_2a6ec.dir/src.c.o: in function `main': >src.c:(.text.startup+0x23): undefined reference to `pthread_create' >/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x2c): undefined reference to `pthread_detach' >/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_cancel' >/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x40): undefined reference to `pthread_join' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >Source file was: >#include <pthread.h> > >static void* test_func(void* data) >{ > return data; >} > >int main(void) >{ > pthread_t thread; > pthread_create(&thread, NULL, test_func, NULL); > pthread_detach(thread); > pthread_cancel(thread); > pthread_join(thread, NULL); > pthread_atfork(NULL, NULL, NULL); > pthread_exit(NULL); > > return 0; >} > >Determining if the function pthread_create exists in the pthreads failed with the following output: >Change Dir: /var/tmp/portage/app-emulation/nemu-3.0.0/work/nemu-3.0.0_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_a4042 && [1/2] Building C object CMakeFiles/cmTC_a4042.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_a4042 >FAILED: cmTC_a4042 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_a4042.dir/CheckFunctionExists.c.o -o cmTC_a4042 -lpthreads && : >/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >
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 817968
:
744699
| 744702 |
744705