Mail Archives: djgpp/1998/03/15/07:01:38
Hi Ricki,
you wrote:
> i installed djgpp with gcc2.8, grx22, and allegro,
> and they all work fine. now i am trying to install
> SWORD. i tried starting a project in rhide to compile
> the Hello.cc sample. the compile went fine but the
> linking did not work. error about undefined references
> in libSWORD.a . i did make in the hello directory and
> i got a coff file. i ran coff2exe and got an exe file and
> that ran okay. so now i think igot a library being called
> in the wrong order from rhide.
You're right. This error caused wrong order of libraries. To avoid it
just place sword in OPTIONS|LIBRARIES before grx20.
> here is the error:
> Compiling: hello.cc
> no errors
> _
> Creating: hello.exe
> _
> Error: e:/djgpp/lib/libSWORD.a(zone.o)(.text+0x6ca):zone.cc: undefined
> referereference to `GrSetClipBox'
> Error: e:/djgpp/lib/libSWORD.a(zone.o)(.text+0x830):zone.cc: undefined
> reference to `GrPlot'
> WORD.a(zone.o)(.text+0x860):zone.cc:
> undefined reference to `GrFilledBox'
> WORD.a(zone.o)(.text+0x890):zone.cc:
> undefined reference to `GrBox'
Alexander Bokovoy, <bokovoy AT bspu DOT unibel DOT by>
--=== The Soft Age coming soon ===--
- Raw text -