Mail Archives: djgpp/1999/01/31/03:43:56
On Sat, 30 Jan 1999, Isaac Waldron wrote:
> C:\waldroni\projects\graphics>gxx -o testc.exe testc.cc -lgraphics
> c:/djgpp/lib/libgraphics.a(blit.o)(.text+0x4):../src/blit.s: undefined
> reference to `VideoRAM'
Use the `nm' program (it's part of Binutils and should be already in
your `bin' subdirectory) to see how does the compiler mangles the name
of VideoRAM, then make sure the assembly source references the mangled
name.
Alternatively, declare VideoRAM ``extern "C"'', which disables
mangling.
- Raw text -