Since no one else has stepped up on this one....
johann.schaeuble(a)t-online.de (Johann Schaeuble) writes:
Afterwards another problem arose (after I built gcc with default config):
Could not build xemacs 21.1.14, configure with defaults produced:
(I reported this to xemacs team)
int main() {
db_open()
; return 0; }
configure:11860: checking for dlfcn.h
configure:11868: gcc -E -I/usr/X11/include conftest.c >/dev/null
2>conftest.out
configure:11899: checking for dlopen in -ldl
configure:11915: gcc -o conftest -g -O3 -Wall -Wno-switch -I/usr/X11/include
-L/usr/X11/lib conftest.c -ldl -lXm -lcompface -ltiff -ljpeg -lz -lXmu -lXt -lXext
-lX11 -lSM -lICE -lgdbm -lgpm -lncurses -lm -lshell32 -lgdi32 -luser32 -lcomctl32
-lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
configure:12145: checking how to build a shared library
configure:12236: checking for dlerror
configure:12262: gcc -o conftest -g -O3 -Wall -Wno-switch -I/usr/X11/include
-L/usr/X11/lib conftest.c -lXm -lcompface -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11
-lSM -lICE -ldl -lgdbm -lgpm -lncurses -lm -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc
-lc -lgcc /usr/lib/crtn.o 1>&5
configure:12302: gcc -o conftest -g -O3 -Wall -Wno-switch -I/usr/X11/include
-L/usr/X11/lib conftest.c -lXm -lcompface -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11
-lSM -lICE -ldl -lgdbm -lgpm -lncurses -lm -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc
-lc -lgcc /usr/lib/crtn.o 1>&5
./configure: line 12325: 25422 Segmentation fault ./conftest
configure: failed program was:
#line 12298 "configure"
#include "confdefs.h"
int main(int c,char *v[]){return 0;}
This looks like some kind of compiler-specific problem to me. Do you
have another compiler installed; you could use it by running:
./configure --compiler=/path/to/other/gcc
You could also try disabling shared libraries by using --ldflags=-Bstatic
Sorry I can't be more help.
- vin