Re: [gtk-list] Prob with compiling gtk+
- From: steve <steve ysgard inka de>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Prob with compiling gtk+
- Date: Sun, 2 Nov 1997 23:00:28 +0100 (MET)
On 2 Nov 1997, Owen Taylor wrote:
> if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
> ac_cv_prog_cc_works=yes
> # If we can't run a trivial program, we are probably using a cross compiler.
> if (./conftest; exit) 2>/dev/null; then
> ac_cv_prog_cc_cross=no
> else
> ac_cv_prog_cc_cross=yes
> fi
> -> exit
> else
> echo "configure: failed program was:" >&5
> cat conftest.$ac_ext >&5
> ac_cv_prog_cc_works=no
> fi
> rm -fr conftest*
>
> and add an exit statement in the place I've marked with '->', to
> prevent it from deleting the test program it has compiled. You can
> then try running the program 'conftest' yourself and see what happens.
If I run conftest now I get an Segmentation fault.
steve@ysgard:~/tmp/gtk+971025 > strace conftest
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|0x20, 4294967295, 0) =
0x40006000
mprotect(0x8048000, 760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=5033, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
mmap(0, 5033, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
close(3) = 0
munmap(0x40007000, 5033) = 0
SYS_136(0, 0x1, 0x4, 0x40001fb0, 0x40006138) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
I have no idea what I schould do. I have also tried to modify the
configure script myself but without success.
Ciao
Steffen
/ Steffen Bloedt Steffen@ysgard.inka.de /
/ http://www.inka.de/~ysgard/ IN sein ist OUT /
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]