* can't compile libg++ from SPRM
@ 1997-03-21 16:43 J
0 siblings, 0 replies; only message in thread
From: J @ 1997-03-21 16:43 UTC (permalink / raw)
I'm using Redhat 4.1 installed from the RedHat Powertools CD set, plus all
the updates from ftp.redhat.com as of 3/20. I installed the SPRM
libg++-2.7.1.4-4.src.rpm, and then tried to compile libg++ by doing
rpm -bc libg++-2.7.1.4.spec.
I get . . .
gcc -c -g -O2 -fno-implicit-templates -I. -I/usr/src/redhat/BUILD/libg++-2.7.1/libio -nostdinc++ iomanip.cc
[ -z "" ] || \
gcc -c -g -O2 -fno-implicit-templates -I. -I/usr/src/redhat/BUILD/libg++-2.7.1/libio -nostdinc++ iostream.cc -o pic/iostream.o
gcc -c -g -O2 -fno-implicit-templates -I. -I/usr/src/redhat/BUILD/libg++-2.7.1/libio -nostdinc++ iostream.cc
In file included from iostream.cc:33:
/usr/include/stdio.h:110: type specifier omitted for parameter
/usr/include/stdio.h:110: parse error before `)'
iostream.cc: In method `class ostream & ostream::operator <<(long double)':
iostream.cc:592: conversion from `long double *' to non-scalar type `__gnuc_va_list' requested
iostream.cc:594: passing `__gnuc_va_list *' as argument 3 of `__printf_fp(_IO_FILE *, const printf_info *, const void **)'
iostream.cc: In method `class ostream & ostream::operator <<(double)':
iostream.cc:637: conversion from `double *' to non-scalar type `__gnuc_va_list' requested
iostream.cc:639: passing `__gnuc_va_list *' as argument 3 of `__printf_fp(_IO_FILE *, const printf_info *, const void **)'
make[1]: *** [iostream.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/libg++-2.7.1/libio'
make: *** [all-target-libio] Error 2
Bad exit status
Is something broken in the Redhat distribution? I was having trouble
compiling some other things, and did the libg++ build as a sanity check.
Am I correct in assuming that I should be able to build all the SRPMS without
errors?
- J
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-03-21 16:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-21 16:43 can't compile libg++ from SPRM J
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox