Message-ID: <352F3D2B.61CD4711@inreach.com>
From: Michael Pope
Organization: Apollo Software and Computers, Inc.
MIME-Version: 1.0
Newsgroups: comp.os.linux.development.apps,comp.os.msdos.djgpp
Subject: Allegro for Linux troubles
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 35
Date: Sat, 11 Apr 1998 09:44:16 GMT
NNTP-Posting-Host: 209-142-6-42.stk.inreach.net
NNTP-Posting-Date: Sat, 11 Apr 1998 02:44:16 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Precedence: bulk
Hello...
I dunno if these newsgroups are the correct ones for this problem,
but they seemed the most appropriate, so here it goes...
Whenever I try to compile an app under the current version
of Allegro for Linux, I get a bunch of linker errors about undefined
symbols. Specifically, I get...
/usr/lib/liballegro.so: undefined reference to '_dma_lock_mem'
/usr/lib/liballegro.so: undefined reference to 'key_ascii_table'
/usr/lib/liballegro.so: undefined reference to '__crt0_argv'
/usr/lib/liballegro.so: undefined reference to 'rest_callback'
/usr/lib/liballegro.so: undefined reference to 'getline'
The command line I'm using is:
gcc -Wall -lm -lallegro sources.c -o executeme
I've got NO idea what's causing this. However, the link of the
library itself was a bit odd... ld couldn't read the warning*.lo files
(they only contained the text timestamp) and wouldn't link them,
so I manually linked, omitting those files. It went fine, until I tried
to link it to an app and everything fell apart.
I've tried sending e-mail to the guy who's porting Allegro to Linux.
I haven't gotten a response, though it's only been 14 hours or so, so...
just don't have any time to waste :)
Any help you can give me on this subject would be greatly appreciated.
Thank you very much for your time.
-Michael Pope
dt AT inreach DOT com