delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/26/13:41:00

From: "David" <nobody AT bogus DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Tddp5.5763$Mw DOT 53280 AT news2 DOT atl>
Subject: Re: Trouble compiling Allegro under DJGPP
Lines: 90
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <Uiyp5.7662$OE4.69759@news1.atl>
Date: Fri, 25 Aug 2000 13:35:29 -0400
NNTP-Posting-Host: 209.215.20.23
X-Trace: news1.atl 967225652 209.215.20.23 (Fri, 25 Aug 2000 13:47:32 EDT)
NNTP-Posting-Date: Fri, 25 Aug 2000 13:47:32 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Oops, I meant GRX...

--

May God bless you,
David Cullen

David <nobody AT bogus DOT com> wrote in message
news:Tddp5.5763$Mw DOT 53280 AT news2 DOT atl...
> I'm using
>
>    djdev203.zip
>    gcc2952b.zip
>    grx23.zip
>    grx23fnt.zip
>    grx23.update.000520.gz
>
> I can build the library without errors, but I get the following error when
I
> try to build the /test directory:
>
> === ERROR TEXT ===
> C:\DJGPP\grx231\test>make -f makefile.dj2
> gcc  -o arctest.exe arctest.o ../lib/dj2/libgrx20.a -lpc -lm
> arctest.o(.text+0xcc):arctest.c: undefined reference to `GrLine'
> arctest.o(.text+0xe5):arctest.c: undefined reference to `GrLine'
> arctest.o(.text+0x14c):arctest.c: undefined reference to `GrLine'
> arctest.o(.text+0x168):arctest.c: undefined reference to `GrLine'
> arctest.o(.text+0x1c3):arctest.c: undefined reference to `GrLine'
> arctest.o(.text+0x1dc):arctest.c: more undefined references to `GrLine'
> follow
> collect2: ld returned 1 exit status
> make.exe: *** [arctest.exe] Error 1
>
> C:\DJGPP\grx231\test>
> === ERROR TEXT ===
>
> The output from an "nm" on "libgrx20.a" gives
>
> === NM OUTPUT ===
> c:/djgpp/grx231/lib/dj2:nm --print-file-name libgrx20.a | grep ":line.o"
> libgrx20.a:line.o:000000f0 b .bss
> libgrx20.a:line.o:000000f0 d .data
> libgrx20.a:line.o:00000000 t .text
> libgrx20.a:line.o:         U _GrCustomLine
> libgrx20.a:line.o:         U _GrHLine
> libgrx20.a:line.o:         U _GrLine
> libgrx20.a:line.o:         U _GrVLine
> libgrx20.a:line.o:00000000 t ___gnu_compiled_c
> libgrx20.a:line.o:         U ___gr_INIT
> libgrx20.a:line.o:         U ___gr_Line
> libgrx20.a:line.o:         U ___gr_Result
> libgrx20.a:line.o:         U ___gr_WR
> libgrx20.a:line.o:         U ___gr_X
> libgrx20.a:line.o:         U ___gr_Y
> libgrx20.a:line.o:         U ___gr_Y_page_offs
> libgrx20.a:line.o:         U ___gr_color
> libgrx20.a:line.o:00000000 T ___gr_line
> libgrx20.a:line.o:         U ___gr_lstyle
> libgrx20.a:line.o:         U ___gr_vpl
> libgrx20.a:line.o:         U ___gr_vpt
> libgrx20.a:line.o:00000000 t gcc2_compiled.
> libgrx20.a:lineto.o:00000030 b .bss
> libgrx20.a:lineto.o:00000030 d .data
> libgrx20.a:lineto.o:00000000 t .text
> libgrx20.a:lineto.o:00000000 t ___gnu_compiled_c
> libgrx20.a:lineto.o:         U ___gr_X
> libgrx20.a:lineto.o:         U ___gr_Y
> libgrx20.a:lineto.o:         U ___gr_line
> libgrx20.a:lineto.o:00000000 T ___gr_lineto
> libgrx20.a:lineto.o:00000000 t gcc2_compiled.
> c:/djgpp/grx231/lib/dj2:
>
> === NM OUTPUT ===
>
> Notice the _GrLine is type "U", or undefined.  If I do an "nm" on the
line.o
> file, the symbol _GrLine is type "T", or code.  Something is getting lost
in
> the link, but I don't know why.
>
> --
>
> May God bless you,
> David Cullen
>
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019