From owner-freebsd-questions@FreeBSD.ORG Sat Aug 3 22:07:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B90337CA for ; Sat, 3 Aug 2013 22:07:12 +0000 (UTC) (envelope-from vagabond@blackfoot.net) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 612562F65 for ; Sat, 3 Aug 2013 22:07:12 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r73M6uJ6009436 for ; Sat, 3 Aug 2013 16:06:57 -0600 (MDT) (envelope-from vagabond@blackfoot.net) Message-ID: <51FD7F00.9030407@blackfoot.net> Date: Sat, 03 Aug 2013 16:06:56 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: x11-toolkits/open-motif build issue Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Sat, 03 Aug 2013 16:06:57 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Aug 2013 22:07:12 -0000 Hi all, I'm running a newly upgraded 9.1. Did a portmaster -a to rebuild what I had up to a point, then tried building x11-toolkits/open-motif, as it is the component which failed when trying to build editors/openoffice-3. Seeing the same error I was seeing under 9.0. I suspect this is something screwed up in the environment but haven't a clue what it is. It looks like crt1.o is being included in the library build by mistake, and that's causing the undefined ref to _main. hints? Thanks, Gary gmake[1]: Entering directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools' Making all in wml gmake[2]: Entering directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools/wml' /bin/sh ../../libtool --tag=CC --mode=link cc -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -L/usr/local/lib -o wmluiltok wmluiltok.o -lXp -liconv -L/usr/local/lib -lXft -lXrender -L/usr/local/lib -lXft -ljpeg -lpng libtool: link: cc -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -o wmluiltok wmluiltok.o -L/usr/local/lib /usr/local/lib/libXp.so /usr/local/lib/libXext.so /usr/local/lib/libiconv.so /usr/local/lib/libXft.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lz -lbz2 /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc /usr/local/lib/libjpeg.so -lpng -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x8a): undefined reference to `main' gmake[2]: *** [wmluiltok] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools/wml' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools' gmake: *** [all-recursive] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/x11-toolkits/open-motif.