Re: Compile Errors
Ethan (allanon@crystaltokyo.com)
Wed, 9 Sep 1998 13:55:55 -0700 (PDT)
On Wed, 9 Sep 1998, Jeremy Dinsel wrote:
> With three versions of afterstep, I can compile the libs but always get errors
> when trying to link them:
>
> gcc -o afterstep -O2 -fno-strength-reduce -L/usr/X11R6/lib afterstep.o
> configure.o clientwin.o events.o borders.o menus.o functions.o resize.o
> add_window.o pager.o move.o icons.o windows.o module.o placement.o
> decorations.o colormaps.o misc.o style.o stepgfx.o hashtable.o
> -L/usr/X11R6/lib -lXpm -lXext -lX11 -lafterstep -L./lib
[undefined symbols snipped]
The symbols are from libafterstep, which should be in the lib/ directory.
Try changing the "-lafterstep -L./lib" to "-L./lib -lafterstep", and see
if that helps.
----
Ethan Fischer
allanon@crystaltokyo.com
http://members.xoom.com/allanon1
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html