Path: chuka.playstation.co.uk!news From: "Martin Keates" Newsgroups: scee.yaroze.freetalk.english Subject: Re: makefiles Date: Fri, 16 Mar 2001 15:25:20 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 22 Message-ID: <98tb72$6f6@www.netyaroze-europe.com> References: <98t7po$6f3@www.netyaroze-europe.com> NNTP-Posting-Host: modem-70.fermium.dialup.pol.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 I don't think this is a makefile problem. Your makefile looks ok. I can't test it though, because I've not got a c++ compiler. (It does use long filenames though, which would cause a problem with my make, but nothing would compile at all if that was your problem). > main.o: In function `main': > main.cpp(.text+0x2c): undefined reference to `gsCRandom::gsCRando(void)' > main.cpp(.text+0x2c): relocation truncated to fit: JMPADDR > gsCRandom::gsCRandom(void) > main.cpp(.text+0xe0): undefined reference to `gsCRandom::~gsCRando(void)' > main.cpp(.text+0xe0): relocation truncated to fit: JMPADDR > gsCRandom::~gsCRandom(void) Like it says, some truncation is going on for some reason. gsCRandom has been cut to 8 characters. But only in the methods and not the class name... weird. This looks like a gcc and linker problem (or restriction). Martin.