Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: J <sundiver@hellfire.dusers.drexel.edu>
Subject: can't compile libg++ from SPRM
Date: Fri, 21 Mar 1997 11:43:30 -0500	[thread overview]
Message-ID: <9703211643.AA28766@hellfire.dusers.drexel.edu> (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

                 reply	other threads:[~1997-03-21 16:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox