[Iup-users] Compile error: undefined reference to `__longjmp_chk'
Brought to you by:
scuri
From: Jonathan T. <jon...@gm...> - 2010-07-18 08:26:46
|
I downloaded the Linux26-g4 libraries (iup-3.2_Linux26g4_lib.tar.gz) from the SourceForge web site and attempted to compile the button.c sample (included in the source distribution, which I downloaded separately). This was the output: $ gcc `pkg-config --cflags --libs gtk+-2.0` -I../iuplib/include button.c ../iuplib/libiup.a -o iup ../iuplib/libiup.a(iup_maskparse.o): In function `iMaskParseFactor': iup_maskparse.c:(.text+0xaab): undefined reference to `__longjmp_chk' ../iuplib/libiup.a(iup_maskparse.o): In function `iMaskParseTerm': iup_maskparse.c:(.text+0xbac): undefined reference to `__longjmp_chk' collect2: ld returned 1 exit status make: *** [button] Error 1 (The first line is the compile command, and the remaining lines are compiler output.) How do I compile this sample? Some other information: Linux version (uname -a): Linux crunchbang 2.6.32-3-686 #1 SMP Tue Mar 9 23:45:38 UTC 2010 i686 GNU/Linux GCC version: gcc version 4.4.3 20100108 (prerelease) (Debian 4.4.2-9) libc (/lib/libc.so.6): GNU C Library (Debian EGLIBC 2.10.2-6) stable release version 2.10.2, by Roland McGrath et al. GTK+ version (pkg-config --modversion gtk+-2.0): 2.20.1 |