Mail Archives: djgpp/2002/08/25/16:15:27
Michael Rodgers <xtreme1084 AT yahoo DOT com> wrote:
: I have a new problem with RHIDE or djgpp (most likely
: djgpp). When I try to compile any program, I get a
: lot of errors, and they all are mostly the same thing.
: It gives me a ton of "undefined fuction" errors.
: Every single error indicates that a function is not
: defined. The problem is, the function is defined, but
: it is looking for the same function with one more
: underscore at the beginning than it has. It will say
: something like _set_color() is not defined, but then
: it will jump to the line where the error is and it
: indicates set_color! On about half of the errors,
C function my_foot() will become assembly function with the name
_my_foot and this is the name the linker sees too. So in your case
set_color() is undefined (if we suppose it's a C function, which is
likely).
: after it says "error" and the filename, it says
: "(.text+" and then a hexadecimal number. Please tell
: me what to do to configure the compiler to not do
: this.
You need to make sure to have the functions you use linked in.
Right,
MartinS
- Raw text -