Page 1 of 1
Fehler beim kompilieren
Posted: 2004-09-10 18:57
by sven-reichelt
Hallo!
Ich versuche einige Fehlende Module nachzuinstallieren.
Jedoch kommt immer die folgende Mendung:
Code: Select all
Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
cp QuotedPrint.pm blib/lib/MIME/QuotedPrint.pm
cp Base64.pm blib/lib/MIME/Base64.pm
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap
Base64.xs > Base64.xsc && mv Base64.xsc Base64.c
cc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
O3 --pipe -DVERSION="3.03" -DXS_VERSION="3.03" -fPIC "-I/usr/lib/perl5/5.8.0/i586-linux-thread
-multi/CORE" Base64.c
cc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See for instructions.
make: *** [Base64.o] Error 1
Was ist jetzt zu tun?
Beste Grüße,
Sven Reichelt
Re: Fehler beim kompilieren
Posted: 2004-09-10 21:07
by Joe User
Re: Fehler beim kompilieren
Posted: 2004-09-10 22:57
by sascha
Ich hatte solche Meldungen übrigens mal bei einem Hardware Defekt (immer an unterschiedlichen Stellen beim compillieren des gleichen Sources). Falls sich dein Server also auch so verhält, abchecken ob die Hardware in Ordnung ist.
Re: Fehler beim kompilieren
Posted: 2004-09-11 06:37
by sven-reichelt
also gcc-v und -dumpspecs gab folgendes aus:
Code: Select all
server:~ # gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-
prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/us
r/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-lib
gcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zl
ib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
server:~ # gcc -dumpspecs
*asm:
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}
*asm_debug:
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}
*asm_final:
%|
*asm_options:
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
*invoke_as:
%{!S:-o %{|!pipe:%g.s} |
as %(asm_options) %{!pipe:%g.s} %A }
*cpp:
%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}
*cpp_options:
%(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*} %{O*}
%{undef}
*cpp_debug_options:
%{d*}
*cpp_unique_options:
%{C:%{!E:%eGNU C does not support -C without using -E}} %{CC:%{!E:%eGNU C does n
ot support -CC without using -E}} %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*
} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M}
%{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}
} %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3} %{!un
def:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs} %{remap} %{g3:-dD} %{H}
%C %{D*&U*&A*} %{i*} %Z %i %{E|M|MM:%W{o*}}
*trad_capable_cpp:
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}
*cc1:
%(cc1_cpu) %{profile:-p}
*cc1_options:
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %1
%{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*} -auxbase%{c|S:%{o*:-strip %*}%{!o*:
%b}}%{!c:%{!S: %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi} %{v:-versio
n} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{--help:--help} %{--target-hel
p:--target-help} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j
} %{-param*}
*cc1plus:
*link_gcc_c_sequence:
%G %L %G
*endfile:
%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s
*link:
%{!static:--eh-frame-hdr} -m elf_i386 %{shared:-shared} %{!shared: %{!ibcs
: %{!static: %{rdynamic:-export-dynamic} %{!dynamic-linker:-dynam
ic-linker /lib/ld-linux.so.2}} %{static:-static}}}
*lib:
%{pthread:-lpthread} %{shared:-lc} %{!shared:%{mieee-fp:-lieee} %{profile:
-lc_p}%{!profile:-lc}}
*libgcc:
%{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:%{!shared:%{!sh
ared-libgcc:-lgcc -lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}%{shared:%{shared-li
bgcc:-lgcc_s%M}%{!shared-libgcc:-lgcc}}}}
*startfile:
%{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:%{pr
ofile:gcrt1.o%s} %{!profile:crt1.o%s}}}} crti.o%s %{s
tatic:crtbeginT.o%s} %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}
}
*switches_need_spaces:
*predefines:
*cross_compile:
0
*version:
3.3
*multilib:
. ;
*multilib_defaults:
*multilib_extra:
*multilib_matches:
*multilib_exclusions:
*multilib_options:
*linker:
collect2
*link_libgcc:
%D
*md_exec_prefix:
*md_startfile_prefix:
*md_startfile_prefix_1:
*startfile_prefix_spec:
*cc1_cpu:
%{!mcpu*: %{m386:-mcpu=i386 %n`-m386' is deprecated. Use `-march=i386' or `-mcpu
=i386' instead.
} %{m486:-mcpu=i486 %n`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' i
nstead.
} %{mpentium:-mcpu=pentium %n`-mpentium' is deprecated. Use `-march=pentium' or
`-mcpu=pentium' instead.
} %{mpentiumpro:-mcpu=pentiumpro %n`-mpentiumpro' is deprecated. Use `-march=pen
tiumpro' or `-mcpu=pentiumpro' instead.
}} %{mintel-syntax:-masm=intel %n`-mintel-syntax' is deprecated. Use `-masm=inte
l' instead.
} %{mno-intel-syntax:-masm=att %n`-mno-intel-syntax' is deprecated. Use `-masm=a
tt' instead.
}
*link_command:
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %l %X %{o*} %{A} %{d} %{
e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!no
startfiles:%S}}} %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultl
ibs:%(link_gcc_c_sequence)}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}
}}}
Damit kann ich nicht wirklich viel anfangen....
Re: Fehler beim kompilieren
Posted: 2004-09-11 09:58
by Joe User
Re: Fehler beim kompilieren
Posted: 2004-09-11 17:50
by sven-reichelt
Also irgendwie scheitere ich beim Installieren!
Ich habe mir
- cpp-3.3.1-16.i586.rpm
- gcc-3.3.1-16.i586.rpm
- gcc-c++-3.3.1-16.i586.rpm
- libgcc-3.3.1-16.i586.rpm
runtergeladen und wollte es jetzt mit "rpm -U cpp-3.3.1-16.i586.rpm" updaten, kommt aber immer "cpp = 3.3-23 is needed by gcc-3.3-23"!
Soll ich rpm -U mit --force ausführen?
Oder was muss ich nun machen?
Und warum hat mein yast2 nur die alte Version von gcc und so?
Re: Fehler beim kompilieren
Posted: 2004-09-11 21:18
by Joe User
sven-reichelt wrote:Also irgendwie scheitere ich beim Installieren!
sven-reichelt wrote:Und warum hat mein yast2 nur die alte Version von gcc und so?
Weil es ein SuSE-Project ist...