From: Peter W. <tj...@al...> - 2002-06-25 06:36:57
|
On 2002-06-24, Andy Goth <unu...@op...> wrote: > Anyway, the output of allegro-config --static [--libs] is: > > -L/usr/lib -L/opt/X11R6/lib -Wl,-export-dynamic -lalleg -lm -lpthread > -lXxf86dga -lXxf86vm -lXext -lX11 -ldl > > Which doesn't look right, since the only difference between it and the > output of allegro-config --libs is -lalleg instead of -lalleg-4.1.0. Yes, the linker's supposed to see /usr/lib/liballeg.a, except that... > /usr/lib/liballeg.so is a symlink to an old copy of Allegro 3.9.37 I still > have lying around. ...this is getting in the way. Delete it. > Remember. My final, final output is a shared object file that xmms loads at > runtime. To be honest, Allegro isn't very happy in these kinds of situations. If things don't work out you might want to consider using SYSTEM_NONE and just using the bitmap manipulation functions. But then you'll have to figure out some way of getting the bitmap data into an X window. > ps. nice sig ;^) I wonder how many people can read it :) -- 王浩禎 >From <all...@ca...> Tue Jun 25 00:16:14 2002 Received: from users.openverse.com [209.142.196.149] by canvaslink.com (SMTPD32-6.00) id AE8BD20016E; Tue, 25 Jun 2002 00:16:11 -0400 Received: (qmail 24837 invoked from network); 25 Jun 2002 04:09:01 -0000 Received: from unknown (HELO chainsaw) (63.162.43.155) by 209.142.196.144 with SMTP; 25 Jun 2002 04:09:01 -0000 Content-Type: text/plain; charset="utf-8" From: Andy Goth <unu...@op...> To: al...@ca... Date: Mon, 24 Jun 2002 23:09:20 -0500 X-Mailer: KMail [version 1.4] References: <200...@op...> <200...@op...> <200...@al...> In-Reply-To: <200...@al...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200...@op...> Subject: Re: [AL] Crash on xmms shutdown Precedence: bulk Sender: all...@ca... Reply-To: al...@ca... X-UIDL: 325116455 Status: O Content-Length: 1540 Lines: 40 On Monday, June 24, 2002 10:37, Peter Wang wrote: > ...this is getting in the way. Delete it. Done. However: [andy@chainsaw|~/cvs/xpyre/xpyre]$ xmms /home/andy/.xmms/Plugins/xpyre.so: undefined symbol: mouse_x Weird. My xpyre.so is up to 984571 bytes, so it must be statically linked in. ldd doesn't list liballeg. > > Remember. My final, final output is a shared object file that xmms > > loads at runtime. > > To be honest, Allegro isn't very happy in these kinds of situations. If > things don't work out you might want to consider using SYSTEM_NONE and > just using the bitmap manipulation functions. But then you'll have to > figure out some way of getting the bitmap data into an X window. I would use tinyptc except for the following: I am using the keyboard and (very soon now) the mouse routines. I used to use the timer stuff too but now I just use my own ultra-simple timer thread. Also, I am using the datafile stuff, including dat2s to put my font right into the .so. I considered using the gui routines but I believe I'll have to code my own (because MSG_DRAG support isn't widespread and I don't want to require the user to patch it into his Allegro installation). > > ps. nice sig ;^) > > I wonder how many people can read it :) Three: me, you, and the guy who put the hidden camera in your room. Oh, wait, that was me. So, two. Just don't ask me what it means. ;^) -- Andy Goth | unu...@op... | http://ioioio.net/ User has performed an invalid operation and will be terminated. |