From owner-freebsd-ports Mon Jun 30 00:11:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA09276 for ports-outgoing; Mon, 30 Jun 1997 00:11:03 -0700 (PDT) Received: from ghpc8.ihf.rwth-aachen.de (ghpc8.ihf.RWTH-Aachen.DE [134.130.90.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA09269 for ; Mon, 30 Jun 1997 00:10:56 -0700 (PDT) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.rwth-aachen.de [134.130.90.6]) by ghpc8.ihf.rwth-aachen.de (8.8.5/8.8.5) with ESMTP id JAA06327; Mon, 30 Jun 1997 09:10:43 +0200 (CEST) Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.8.5/8.8.5) id JAA01106; Mon, 30 Jun 1997 09:10:42 +0200 (CEST) To: Peter Svaar Cc: freebsd-ports@FreeBSD.ORG Subject: Re: xautolock problem References: <199706272056.WAA27879@cray.svaar.no> From: Thomas Gellekum Date: 30 Jun 1997 09:10:40 +0200 In-Reply-To: Peter Svaar's message of Fri, 27 Jun 1997 22:56:57 +0200 (MET DST) Message-ID: <87zps8lg5q.fsf@ghpc6.ihf.rwth-aachen.de> Lines: 44 X-Mailer: Gnus v5.4.37/XEmacs 19.15 Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Svaar writes: > I can't get xautolock to compile. Seems like "gnumalloc" is the problem, but > I can't understand why. [...] > cc -m486 -O2 -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHasVoidSignalReturn -DHasVFork -c xautolock.c > rm -f xautolock > cc -o xautolock -m486 -O2 -L/usr/X11R6/lib xautolock.o -lXExExt -lXext -lX11 -lgnumalloc > ld: -lgnumalloc: no match > *** Error code 1 My (would-)build line looks like this: xautolock.pl10:135) make -n cc -m486 -O2 -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHasVoidSignalReturn -DHasVFork -c xautolock.c rm -f xautolock cc -o xautolock -m486 -O2 -L/usr/X11R6/lib xautolock.o -lXext -lX11 There's no -lgnumalloc in there (XFree86-3.2). From /usr/X11R6/lib/X11/config/FreeBSD.cf: #ifndef UseGnuMalloc /* 2.2 doesn't really have GnuMalloc */ #if OSMajorVersion < 2 || (OSMajorVersion == 2 && OSMinorVersion < 2) #define UseGnuMalloc YES #else #define UseGnuMalloc NO #endif #endif Have a look at the top of this file, if you're running 2.2.x. It should look like: #ifndef OSMajorVersion #define OSMajorVersion 2 #endif #ifndef OSMinorVersion #define OSMinorVersion 2 #endif #ifndef OSTeenyVersion #define OSTeenyVersion 0 #endif tg