bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

global-4.8.23] build problem in Solaris 2.6


From: Paul Lew
Subject: global-4.8.23] build problem in Solaris 2.6
Date: Sat, 26 Feb 2005 15:53:05 -0800

Attempt to build global 4.8.3 on soliaris 2.6 failed:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libutil -I../libdb
   -I../libglibc -I../libutil -g -O2 -MT sort.o -MD -MP
   -MF ".deps/sort.Tpo" -c -o sort.o sort.c; \
then mv -f ".deps/sort.Tpo" ".deps/sort.Po"; else rm -f
".deps/sort.Tpo"; exit 1
; fi
sort.c: In function `xtmpfopen':
sort.c:342: error: `O_WRONLY' undeclared (first use in this function)
sort.c:342: error: (Each undeclared identifier is reported only once
sort.c:342: error: for each function it appears in.)
sort.c:342: error: `O_CREAT' undeclared (first use in this function)
sort.c:342: error: `O_TRUNC' undeclared (first use in this function)
sort.c:342: error: `O_EXCL' undeclared (first use in this function)
make[2]: *** [sort.o] Error 1

> uname -sr
SunOS 5.6

> gcc -v
Reading specs from
/auto/insbu-cnstools/kit/gcc-3.4.1/auto/insbu-cnstools/bin/..
/lib/gcc/sparc-sun-solaris2.6/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/auto/insbu-cnstools
--with-local-prefix=/auto/insbu-cnstools
--enable-version-specific-runtime-libs
--enable-languages=c,c++,java
Thread model: posix
gcc version 3.4.1
gcc vesion 3.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]