charlesarcher / i7z

Automatically exported from code.google.com/p/i7z
GNU General Public License v2.0
0 stars 0 forks source link

PLease use pkg-config to detect ncurses libs #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
same problem as the debian libtinfo.so bug:

x86_64-pc-linux-gnu-gcc -O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx 
-mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma 
-mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 
-msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 
--param l2-cache-size=8192 -frecord-gcc-switches -g 
-Wimplicit-function-declaration -fno-schedule-insns2  -fno-schedule-insns 
-fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT 
-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -o i7z 
i7z.o helper_functions.o i7z_Single_Socket.o i7z_Dual_Socket.o -lncurses 
-lpthread -lrt -lm
i7z_Single_Socket.c:617: error: undefined reference to 'stdscr'
i7z_Single_Socket.c:744: error: undefined reference to 'stdscr'
i7z_Single_Socket.c:83: error: undefined reference to 'stdscr'
i7z_Dual_Socket.c:630: error: undefined reference to 'stdscr'
collect2: error: ld returned 1 exit status

please find attach a patch to address this issue.

Original issue reported on code.google.com by ju.lec...@googlemail.com on 2 Feb 2013 at 5:33

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by abhirana on 12 Feb 2013 at 6:16