On 3/21/2012 1:39 PM, Tom Szczesny wrote:
a snippet from aplus-fsf-4.22/src/main/Makefile:
I assume that the line
X_LIBS= -L -lX11
should read something different.
Indeed.
I've tried various things to no avail.
What is normally put in a Makefile to indicate the location of
a snippet from aplus-fsf-4.22/src/main/Makefile:
EXEEXT = .exe
OBJEXT = o
PATH_SEPARATOR = :
AMTAR = tar
AS = @AS@
AWK = gawk
CC = gcc
CXX = g++
DEPDIR = .deps
DLLTOOL = @DLLTOOL@
ECHO = echo
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LI
[snip]
> -L../../src/MSTypes -L -lX11 -lpthread -ldl -lm mainC.o aplus_main.o
aplus_uext.o matherr.o
[snip]
Problem here ...^^^
Literally it means "gcc please also look for libraries in directory
-lX11", effectively gobbling
up -lX11 (no, you don't get a message because the director
The last (few) commands are:
Making all in main
make[2]: Entering directory `/usr/local/aplus-fsf-4.22/src/main'
echo "Making version.h";\
rm -f version.h;\
cat version.h.template | sed -e s/%RCVAL%/4.22/ \
-e s/%FNVAL%// \
-e s@%IMDIRVAL%@/usr/local/aplus-fsf-4.22@ >version.h;
Mak
> My current stumbling block:
> When compiling aplus-fsf-4.22/src/main/aplus_main.c
> I get many errors related to X11.
>
> case in point:
> undefined reference to '_XWarpPointer' in AGIF.o
Not a *compile* problem but a *link* problem. Probably missing -lX11.
What is the last, failing, command e
My current stumbling block:
When compiling aplus-fsf-4.22/src/main/aplus_main.c
I get many errors related to X11.
case in point:
undefined reference to '_XWarpPointer' in AGIF.o
aplus-fsf-4.22/src/AplusGUI/AGIF.C
does use XWarpPointer:
static I warpPointer(MSWidgetView *pWidgetView_)
{
if (pW
6 matches
Mail list logo