gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Make file Question

#10354 - cooky - Wed Sep 03, 2003 10:14 am

How do you get the make file to show you the error? every time I double click it it just flashes on the screen and I can never tell what is going wrong.

#10355 - Anaconda - Wed Sep 03, 2003 10:30 am

You could add a "pause" at the end or browse with the CMD to this directory and then execute it.

#10357 - cooky - Wed Sep 03, 2003 12:03 pm

thanks that realy helped me out. I was nearly going mad with frustration. Maybe vaige error messages do work after all?

#10359 - Paul Shirley - Wed Sep 03, 2003 12:28 pm

removed

Last edited by Paul Shirley on Sun Mar 28, 2004 10:09 pm; edited 1 time in total

#10456 - cooky - Fri Sep 05, 2003 2:56 pm

I'm running it straight out of windows you can keep your fancy IDEs.

On a simmilar note I've had a bit of a problem understanding One type of error message. This type creates it's own file in the temp folder in my hard drive for semmingly no reason and then accounts that file for the error.
This is the line.

C:\DOCUME~1\KIM\LOCALS~1\TEMP/ccicbaaa.o(.data+0*4): first defined here

It then repeats the file name on the line below followed by.

multiple definition of 'OAMmem'

This done a number of times for different definitions of the GBA memory.
I found these files and opened them using note pad to find a repeating of the above error statements as if it was keeping a log of it. Why, and why start now I've been only truely writting games for the gba for a month or so. Why highlight it now.
The only thing I could think of was that I added another C++ file in with the other in that make file and this may have in some way messed it up but then I take it out and delete the files try it again and it still comes up with the errors.

#10477 - yaustar - Sat Sep 06, 2003 2:13 am

Never seen that error before in my life... are you using an extra switch in your make file that you don't need?
_________________
[Blog] [Portfolio]

#10483 - Paul Shirley - Sat Sep 06, 2003 1:11 pm

removed

Last edited by Paul Shirley on Sun Mar 28, 2004 10:09 pm; edited 1 time in total

#10492 - cooky - Sat Sep 06, 2003 3:35 pm

Paul Shirley wrote:
cooky wrote:
I'm running it straight out of windows you can keep your fancy IDEs.

Lose the attitude. Use the right tools for the job (an IDE or programmers editor) or stop bothering us with self inflicted problems.


Sorry we seem to have gotten of on the wrong foot. I ment it as a joke. Unfunny I know just something to lighten the air a little. And if humors a crime then hang me here. (Sorry, another joke.)(Attitude noted.)

Looking through what you said I think I've come to the conclusion that you must be correct and I'll look up the answer in some of the other threads as you surggest.
Thanks.

Edit: That was what was wrong I went back over the header files and found a number of variables that should have been made Global using "# define" before them. So if I see this kind of error message again I know what to do. Thanks again.