From owner-freebsd-ports Fri Apr 10 05:34:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA26644 for freebsd-ports-outgoing; Fri, 10 Apr 1998 05:34:48 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA26635; Fri, 10 Apr 1998 05:34:45 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id OAA15187; Fri, 10 Apr 1998 14:15:07 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.7) id OAA11084; Fri, 10 Apr 1998 14:13:24 +0200 (CEST) (envelope-from andreas) Message-ID: <19980410141324.56043@klemm.gtn.com> Date: Fri, 10 Apr 1998 14:13:24 +0200 From: Andreas Klemm To: hackers@FreeBSD.ORG Cc: ports@FreeBSD.ORG Subject: libqt-1.39 snap: ld: -L differences between Linux and FreeBSD ??? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Have difficulties compiling the newest libqt snapshot. The seem to have a ld(1), that is able to get a list of directories (-L flags) first, which is valid for every further -l command option ... cd t1; gmake gmake[2]: Entering directory `/home/andreas/src/freefall/myports/work/qt/work/qt-1.39-19980406/tutorial/t1' gcc -L/home/andreas/src/freefall/myports/work/qt/work/qt-1.39-19980406/lib -L/usr/X11R6/lib -o t1 main.o -lqt -lX11 ld: -lqt: no match Error is, the libqt isn't searched in /home/andreas/src/freefall/myports/work/qt/work/qt-1.39-19980406/lib But this seems to run on other platforms... This surely would work ... gcc -o t1 main.o -L/home/andreas/src/freefall/myports/work/qt/work/qt-1.39-19980406/lib -lqt -L/usr/X11R6/lib -lX11 What's right, what's wrong ??? Do I have to rewrite the Rules of every Makefile.in now ??? 14 subdirs: tutorial/t1 ... tutorial/t14 ?! Or does somone have a patch for ld around ??? -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html powered by ,,symmetric multiprocessor FreeBSD'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message