This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Problems building on FreeBSD 4.0
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Problems building on FreeBSD 4.0
- From: Mike_M <mike_makonnen at yahoo dot com>
- Date: Mon, 10 Jul 2000 14:35:57 -0700 (PDT)
Hi,
I'm trying to compile libstdc++-v3 from CVS on a FreeBSD 4-stable machine.
But, I'm running into problems during compilation.
At first I got a bunch of 'data definition has
no type or storage class' warnings in gcc/libstdc++v3/libio/_G_config.h and lib
io.h .
I believe this has to do with the fact that __off_t and __off64_t in <sys/types
.h> are actually both off_t on my machine. For the error in libio.h, again, on
my machine __ssize_t is actually ssize_t. So, I thought no problem, I'll just m
odify _G_config.h to define __off_t and __off64_t as off_t, and __ssize_t as ss
ize_t. That got rid of some of the errors, but there's some more:
rm -f .libs/filedoalloc.lo
/usr/local/pub/development/libstdc++/obj/gcc/xgcc -B/usr/local/pub/development/
l
ibstdc++/obj/gcc/ -B/usr/i386-unknown-freebsd4.0/bin/ -DHAVE_CONFIG_H -I. -I../