Message: Makefile Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Makefile 

Keywords: Makefile
Forum: Installation and Configuration
Date: 18 Apr, 2002
From: roccaz <roccaz@csnsm.in2p3.fr>

Hi to everyone, I really need your help

I try compiling my own program using Ex N02 GnuMakefile, I just mofified G4INSTALL. all my files compile now well (no error syntax in ".cc" ans ".hh"...but at the end I obtain that message :

touch:creating `tmp/Linux-g++/SimpleGe/exe/obj.last':No such file or directory gmake:***[../tmp/Linux-g++/SimpleGe/exe/obj.last] Error 1

I've then created myself that directory `exe' and copy the obj.last file that was in `SimpleGe' directory. And now I have another error message :

Linking SimpleGe.cc ... /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18):undefined reference to `main' collect2:ld returned 1 exit status gmake:***[../bin/Linux-g++/SimpleGe.cc] Error 1

I'm sure probs come from my GnuMakefile, but on the Geant Application Developper Manual I've found nothing really clear to write a correct makefile for one's own program.

Thanks for all help you can give me

 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Makefile   (Gabriele Cosmo - 24 Apr, 2002)
2 Ok: Re: Makefile   (roccaz - 25 Apr, 2002)
1 None: Re: Makefile   (pechow@mednet.ucla.edu - 31 Jul, 2002)
2 None: Re: Makefile   (Carl Lundstedt - 06 Aug, 2002)
1 None: Re: Makefile   (Carl Lundstedt - 07 Aug, 2002)
... 1 Message(s)
 Add Message Add Message
to: "Makefile"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]