From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: AT&T inline asm in DJGPP... Date: 1 Dec 2002 18:36:17 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 31 Message-ID: References: NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com lewi9908 (lewi9908 AT ghc DOT ctc DOT edu) wrote: : Ker.asm(built by NASM) : [BITS 32] : GLOBAL _OutputText : _OutputText: ... : Ker.cpp(Also I am going to build a C++ kernel and not just a C kernel so I : need Ker.cpp) : extern "C" void OutputText(char* pOutStr, int iVideoMemIndex); : int main() : { : OutputText("Hello, world!", 22); : //Just comments here... : return 0; : } : What is the problem now... What does "nm Ker.o | grep OutputText" and say? And the same for the .o made from Ker.asm. (I hope they are in different directories otherwise they'll overwrite each other.) Right, MartinS