Mail Archives: djgpp/1997/01/25/22:14:20
ok, this must be something stupid i'm doing because i can't even find a reference to it in the faq :(
i have 2 programs, one has a routine called wibble which is extern'd
the other file consists of :
int wibble(void);
void main() {
printf("%d \n",wibble());
}
when i try to compile this i get unresolved reference to wibble errors. :( from *both* pieces of code
what on earth am i doing wrong? usually i would use extern int wibble(void); in this code and define the code in the other routine, but in this case the other routine is assembler and i don't know how to declare it as anything under nasm except [EXTERN wibble] so i somehow have to define it in this routine i guess...
regards,
nik
--
Graham Tootell GameBoutique Ltd. - THE online gaming experience
nikki AT gameboutique DOT com http://www.gameboutique.com
- Raw text -