From: wilrod AT rocketmail DOT com Newsgroups: comp.os.msdos.djgpp Subject: Help compiling JX_Font demos Date: Sun, 28 Jun 1998 00:59:51 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 43 Message-ID: <6n44i7$fva$1@nnrp1.dejanews.com> NNTP-Posting-Host: 12.65.22.166 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I just downloaded jx_font v1.0, compiled the jx_font.c file (gcc -c jx_font.c), and then proceeded to try and compile the demos. For all of the demos (fonttst1.c, fonttst2.c, fonttst3.c and lettermv.c) I get the following error: jx_font.o(.text+0x788):jx_font.c: undefined reference to `generate_RLE' The command line I'm using is: gcc -ofilename.exe filename.c jx_font.o -lj I'm using: DJGPP 2.01 jlib 1.9 jx_fn 1.0 I looked in jx_font.c and found the following prototype: void generate_RLE (sprite_data_rec * srec); /* from source/sprite/spriteio.c */ In spriteio.c, there's this prototype + function: void generate_rle(sprite_system *sys, sprite_data_rec * srec) The function in spriteio.c takes two parameters, instead of the one in jx_font.c, and the capitalization of rle is different on both. The docs for jx_font say that all should work fine with v1.7+ of jlib. Am I missing a patch? Do I need a later version of jx_font? Did I compile incorrectly? Please help. Thanks, Wil PS I have managed to successfully compile/build many other, non-jx_font, demos for jlib, so this problem is a result of trying to use jx_font. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum