Operating System - Tru64 Unix
1753260 Members
4856 Online
108792 Solutions
New Discussion

Problems building GNU make on OSF1 V4.0 alpha

 
guptaanunay
Occasional Contributor

Problems building GNU make on OSF1 V4.0 alpha

Hello all,

I have to build an application on OSF1 V4.0 alpha machine. For this I
need to have GNU make installed. But, when I try to build GNU make with
the native make, it gives the following errors:-

myMachine> make
make all-recursive
Making all in glob
source='glob.c' object='glob.o' libtool=no depfile='.deps/glob.Po'
tmpdepfile='.deps/glob.TPo' depmode=gcc /bin/ksh ../config/depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c `test -f 'glob.c' ||
echo './'`glob.c
as0: Warning: /tmp/ccaadina.s, line 1: extraneous values on version
stamp ignored
.verstamp 3 11 2 7 2
source='fnmatch.c' object='fnmatch.o' libtool=no
depfile='.deps/fnmatch.Po' tmpdepfile='.deps/fnmatch.TPo' depmode=gcc
/bin/ksh ../config/depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -g
-O2 -c `test -f 'fnmatch.c' || echo './'`fnmatch.c
as0: Warning: /tmp/ccaacBAa.s, line 1: extraneous values on version
stamp ignored
.verstamp 3 11 2 7 2
rm -f libglob.a
ar cru libglob.a glob.o fnmatch.o
ranlib libglob.a
Making all in config
No suffix list.
Making all in po
Making all in doc
source='ar.c' object='ar.o' libtool=no depfile='.deps/ar.Po'
tmpdepfile='.deps/ar.TPo' depmode=gcc /bin/ksh ./config/depcomp gcc
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\"
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I. -I.
-I./glob -g -O2 -c `test -f 'ar.c' || echo './'`ar.c
In file included from ar.c:21:
make.h:130: warning: `SA_RESTART' redefined
/usr/include/signal.h:395: warning: this is the location of the
previous definition
In file included from /usr/include/sys/siginfo.h:37,
from /usr/include/signal.h:57,
from make.h:72,
from ar.c:21:
/usr/include/sys/sysmisc.h:101: parse error before `pthread_attr_t'
/usr/include/sys/sysmisc.h:101: warning: no semicolon at end of struct
or union
/usr/include/sys/sysmisc.h:101: warning: no semicolon at end of struct
or union
/usr/include/sys/sysmisc.h:101: warning: no semicolon at end of struct
or union
/usr/include/sys/sysmisc.h:102: warning: data definition has no type or
storage class
/usr/include/sys/sysmisc.h:104: parse error before `}'
/usr/include/sys/sysmisc.h:104: warning: data definition has no type or
storage class
/usr/include/sys/sysmisc.h:105: parse error before `}'
/usr/include/sys/sysmisc.h:105: warning: data definition has no type or
storage class
In file included from make.h:72,
from ar.c:21:
/usr/include/signal.h:298: parse error before `int'
In file included from
/usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/time.h:167,
from /usr/include/sys/time.h:106,
from make.h:87,
from ar.c:21:
/usr/include/sys/timers.h:98: warning: redefinition of `clockid_t'
/usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/time.h:96:
warning: `clockid_t' previously declared here
ar.c: In function `ar_glob':
ar.c:299: warning: type mismatch in implicit declaration for built-in
function `alloca'
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

What can be the possible problem and the solution? Is the GNU make
binaries for this version of OSF1 available?

Any help would be grateful,
Thanks,
Anunay
1 REPLY 1
Steven Schweda
Honored Contributor

Re: Problems building GNU make on OSF1 V4.0 alpha

Which version of GNU make? Did you unpack
a fresh kit, or are you reusing a source
directory where it was built on some other
system?

My Tru64 is V5.1B (-3?), but to me, this
looks like a major mess. Which GCC are you
using?

Did you do the "./configure" step first? It
seems to have worked for me (GNU make-3.80)
using "./configure CC=cc". Is there anything
interesting in your "config.log"

It might help if you showed _all_ your work
(and all the program versions).