This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems building on FreeBSD 4.0


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../

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]