2003-07-14 10:28:31

by Frank Elsner

[permalink] [raw]
Subject: [linux-2.6.0-test1] make xconfig fails


RHL 7.3, gcc-2.95.3, copied .config from 2.4.21 source tree
to linux-2.6.0-test1 source tree.
make oldconfig went ok.

Later make xconfig failed:

root: /usr/src/linux-2.6.0-test1<1059> make xconfig
HOSTCC scripts/fixdep
HOSTCC scripts/split-include
HOSTCC scripts/conmakehash
HOSTCC scripts/docproc
HOSTCC scripts/kallsyms
CC scripts/empty.o
HOSTCC scripts/mk_elfconfig
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
HOSTCC scripts/pnmtologo
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*
/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
/usr/lib/qt3-gcc2.96/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf
.moc
HOSTCXX scripts/kconfig/qconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/qconf
./scripts/kconfig/qconf arch/i386/Kconfig
boolean symbol BINFMT_ZFLAT tested for 'm'? test forced to 'n'
#
# using defaults found in .config
#
make: *** [xconfig] Segmentation fault

Any pointer(s) welcome.


--Frank Elsner



2003-07-14 11:33:53

by Roman Zippel

[permalink] [raw]
Subject: Re: [linux-2.6.0-test1] make xconfig fails

Hi,

On Mon, 14 Jul 2003, Frank Elsner wrote:

> RHL 7.3, gcc-2.95.3, copied .config from 2.4.21 source tree
> to linux-2.6.0-test1 source tree.
> make oldconfig went ok.
>
> Later make xconfig failed:

It's most likely a mismatch between QT and g++.
Older RedHat systems have that problem, although most of the time it
already fails at linking.

> /usr/lib/qt3-gcc2.96/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf

Which version is the g++ compiler?

bye, Roman

2003-07-14 11:38:44

by Frank Elsner

[permalink] [raw]
Subject: Re: [linux-2.6.0-test1] make xconfig fails

On Mon, 14 Jul 2003 13:48:35 +0200 Roman Zippel wrote:
> On Mon, 14 Jul 2003, Frank Elsner wrote:
> > RHL 7.3, gcc-2.95.3, copied .config from 2.4.21 source tree
> > to linux-2.6.0-test1 source tree.
> > make oldconfig went ok.
> >
> > Later make xconfig failed:
>
> It's most likely a mismatch between QT and g++.
> Older RedHat systems have that problem, although most of the time it
> already fails at linking.
>
> > /usr/lib/qt3-gcc2.96/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf
>
> Which version is the g++ compiler?
# g++ -v
Reading specs from /usr/local/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)


--Frank Elsner


2003-07-14 11:54:38

by Roman Zippel

[permalink] [raw]
Subject: Re: [linux-2.6.0-test1] make xconfig fails

Hi,

On Mon, 14 Jul 2003, Frank Elsner wrote:

> > > /usr/lib/qt3-gcc2.96/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf
> >
> > Which version is the g++ compiler?
> # g++ -v
> Reading specs from /usr/local/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
> gcc version 2.95.3 20010315 (release)

Your QT seems to be compiled with 2.96 and both versions must match.
You can select a different c++ compiler with "make xconfig HOSTCXX=..." or
a different QT version with "make xconfig QTDIR=...". If you don't have a
matching pair, you have to recompile QT.

bye, Roman