bug-make
[Top][All Lists]
Advanced

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

problem with make


From: Dusan Turk
Subject: problem with make
Date: Wed, 12 Feb 2003 01:07:15 +0100

Dear developers,
I am running into strange kind of a problem with "make" on

$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-redhat-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <address@hidden>.

and also with the version used for RedHat 8.0 distribution as well as the previous ones.
 
 

Argument #6 of `reflect_set_calc' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
make[1]: *** [kongrd.o_LINUX] Error 1
make[1]: Leaving directory `/stef/dus/main/source'
make[1]: Entering directory `/stef/dus/main/source/graph'
/usr/bin/g77 -DG77  -O2 -c -fbounds-check -g -O0  -DOPENGL -DNVIDIA   -F -o imacom.f imacom.F
g77: unrecognized option `-F'
make[1]: *** Deleting file `imacom.f'
make[1]: *** [imacom.f] Interrupt
make: *** [main_LINUX] Interrupt

/usr/bin/g77 -DG77  -O2 -c -fbounds-check -g -O0    -F -o kongrd.f kongrd.F
g77: unrecognized option `-F'
kongrd.F: In subroutine `gen_cmap_phase_false':
kongrd.F:2606:
           integer*4 iscale, ifset, irg(2), ioper(3),
 

my construct is the following:

kongrd.o_$(SYSTEM): kongrd.f
 $(CPP)  kongrd.f > kongrd.F
 $(FC) $(FFLAGS) kongrd.F
 mv kongrd.o kongrd.o_$(SYSTEM)
 rm kongrd.F

in order to make use of "cpp" the ".f" files need to be copied to ".F".  So it looks like a buffer overflow or underflow.
Somehow a part of the make file gets lost.

This happens also always when a ".F" file already exists.

Much more sever is the first case of error.  There is an error in the code, which messes up the next file (usually from the next make file, but not neccessarily:
actually the source "x.f" is replaced by the compiled object code.  source file is thereby lost...

If needed I can send you all make files.

best regards,

dusan
 

-- 
****************************************************************************
Dusan Turk                                   e-mail: address@hidden
Dept. of Biochem. and Mol. Biol.              phone: +386 1 477 3857 
Jozef Stefan Institute                          fax: +386 1 257 3594
Jamova 39, 1 000 Ljubljana
Slovenia, (EUROPE)
****************************************************************************
 
reply via email to

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