Path: chuka.playstation.co.uk!news From: wickednun@callnetuk.com (wicked nun) Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: urgent help required Date: Tue, 30 Mar 1999 19:40:20 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 43 Message-ID: <37042895.8289675@news.playstation.co.uk> References: <3702c554.12329198@news.playstation.co.uk> <3700A393.CDC973F6@scee.sony.co.uk> NNTP-Posting-Host: 212.67.134.249 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.452 On Tue, 30 Mar 1999 11:12:35 +0100, James Russell regurgitated the following beautiful text: .:* :.Other possible causes - your TMDs are very big, and writing over something important (like code - .:* :.ooer). .:* :. .:* :.To prevent this, I use raw2src (also known as bin2src). Get it from my home page (~jruss1). It .:* :.converts a binary file into a C file that you can use in your programs (with appropriate casting). Ok, I've converted all my tmd's to C header files eg floors.h, but it wont compile and I get an error I haven't seen before : C:\Yaroze\PSX\TestProgs\RoboWars>MAKE gcc -c -W -O3 robot.c gcc -c -W -O3 main.c main.c: In function `InitialiseAll': main.c:1020: warning: passing arg 1 of `GetPadBuf' from incompatible pointer typ e main.c:1020: warning: passing arg 2 of `GetPadBuf' from incompatible pointer typ e gcc -Xlinker -Map -Xlinker mapfile -Xlinker -Ttext -Xlinker 80140000 pad.o tmd.o object.o weapon.o robot.o sincos.o tangent.o atan.o storescr.o main.o -o main main.o(.data+0xa8): multiple definition of `robotTmds' robot.o(.data+0x0): first defined here main.o(.data+0x7ac): multiple definition of `weaponTmds' robot.o(.data+0x704): first defined here make.exe: *** [main] Error 1 please help, I would be most grateful (wicked nun) "I don't think, therefore I'm not"