OT help required

richard richard.bown at blueyonder.co.uk
Thu Apr 16 15:41:12 UTC 2009


Hi Guys
Yes I know its OT but this is where the intelligent gurus live, and its
a bit relevant as G95 was removed from the repositories.

I'm attempting to build G95 for this 64bit machine.
To stop G95 being built in a test mode it requires:-
./configure --with-gcc-dir=

I've tried /usr/bin/x86_64-linux-gnu-gcc-4.3
as well as /usr/bin/gcc

The Makefile is made OK , but running make gives:-

g95spec.c:47:20: error: config.h: No such file or directory
g95spec.c:48:20: error: system.h: No such file or directory
g95spec.c:49:17: error: gcc.h: No such file or directory
g95spec.c:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘PARAMS’ g95spec.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘PARAMS’ g95spec.c:102: error: array type has
incomplete element type g95spec.c: In function ‘lookup_option’:
g95spec.c:147: error: ‘NULL’ undeclared (first use in this function)
g95spec.c:147: error: (Each undeclared identifier is reported only once
g95spec.c:147: error: for each function it appears in.)
g95spec.c:161: warning: implicit declaration of function ‘strcmp’
g95spec.c: In function ‘append_arg’:
g95spec.c:264: warning: implicit declaration of function ‘xmalloc’
g95spec.c:264: warning: cast to pointer from integer of different size
g95spec.c:272: warning: implicit declaration of function ‘fatal’
g95spec.c: At top level:
g95spec.c:279: error: expected ‘;’, ‘,’ or ‘)’ before ‘ATTRIBUTE_UNUSED’
g95spec.c:573: warning: no previous prototype for
‘lang_specific_pre_link’ make[1]: *** [g95-g95spec.o] Error 1


Could someone please point me in the right direction, and any chance of
a AMD64 version of G95 back as a choice of fortran compilers, please,
pretty please.

TIA

-- 
Best wishes

Richard Bown

#########################################################################
Registered Linux User 36561
OS: Ubuntu 9.04, Jaunty -dev, on AMD Dual Athlon 64 +4400: 8 GB RAM DDR2
Ham Call: G8JVM , QRA IO82SP, Interests Microwave
#########################################################################





More information about the Ubuntu-devel-discuss mailing list