From: nikki AT gameboutique DOT co (nikki) Newsgroups: comp.os.msdos.djgpp Subject: dumb linking question Date: 25 Jan 1997 23:13:16 GMT Organization: GameBoutique Ltd. Lines: 24 Message-ID: <5ce42c$bhs@flex.uunet.pipex.com> Reply-To: nikki AT gameboutique DOT co NNTP-Posting-Host: www.gameboutique.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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