Mail Archives: djgpp/2000/04/28/14:16:25
I have described what the asm source code looks like. It's in the middle of
the paragraph. If you need more, I can publish a function in question and
the beginning of the file.
Steamer wrote:
> Joseph Rose wrote:
>
> >When I link the test code for my graphics library, I get no error
> >message on references to C++ functions, but I get 'undefined reference'
> >error messages at every line of C++ code containing a function call to
> >an assembler routine. I'm using nasm; GLOBAL statements appear at the
> >beginning of the source for about every function in the source without
> >any extra specifiers, and my functions start with just a label followed
> >by a colon. Every other technique I've tried didn't assemble at all.
>
> So you're doing something wrong. Post your code here and someone might
> tell you what. But if you don't post your code, then only readers with
> exceptional telepathic powers will be able to help you.
>
> It's probably the asm code which is wrong, so you could post that first.
> From the beginning of the file to the end of the first function should be
> enough to see what you're doing wrong.
>
> S.
- Raw text -