All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Madore <mmadore@turbolinux.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Error compiling c++ support with glibc 2.2
Date: Thu, 05 Oct 2000 16:55:30 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205544@msgid-missing> (raw)

Hi,

I'm getting the following error when trying to compile the 0925 gnupro on
glibc 2.2(From 10/02 CVS):

/usr/src/turbo/BUILD/gnupro-2.96/build/gcc/g++ -B/usr/src/turbo/BUILD/gnupro-2.96/build/gcc/ -B/usr/ia64-cygnus-linux/bin/ -L/usr/src/turbo/BUILD/gnupro-2.96/build/ia64-cygnus-linux/libstdc++ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I../../../src/libio -nostdinc++ -D_IO_MTSAFE_IO ../../../src/libio/isgetline.cc
../../../src/libio/iostream.cc: In method `istream &istream::get (char 
&)':
./../../src/libio/iostream.cc:75: `_IO_USER_LOCK' undeclared (first 
use this function)
../../../src/libio/iostream.cc:75: (Each undeclared identifier is 
reported only once for each function it appears in.)
../../../src/libio/isgetline.cc: In method `istream &istream::getline 
(char *, int, char)':
../../../src/libio/isgetline.cc:41: `_IO_USER_LOCK' undeclared (first 
use this function)
../../../src/libio/isgetline.cc:41: (Each undeclared identifier is 
reported only once for each function it appears in.)
make[1]: *** [isgetline.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [iostream.o] Error 1
make[1]: Leaving directory `/usr/src/turbo/BUILD/gnupro-2.96/build/ia64-cygnus-linux/libio'
make: *** [all-target-libio] Error 2
Bad exit status from /var/tmp/rpm-tmp.11588 (%build)


According to Jim Wilson, iostream.cc is including
/usr/include/bits/stdio-lock.h which references _IO_USER_LOCK.  However,
_IO_USER_LOCK is defined in /usr/include/libio.h which is not being
included.  Has anyone else run accross this problem?  Any solutions?

Thanks

-- 
Mike Madore
Software Engineer
TurboLinux, Inc.


             reply	other threads:[~2000-10-05 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-05 16:55 Michael Madore [this message]
2000-10-05 17:49 ` [Linux-ia64] Error compiling c++ support with glibc 2.2 Jim Wilson
2000-10-05 17:55 ` Ulrich Drepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205544@msgid-missing \
    --to=mmadore@turbolinux.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.