From owner-freebsd-current Thu May 30 9: 2:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from beastie.jocose.org (www.jocose.org [216.239.16.179]) by hub.freebsd.org (Postfix) with SMTP id E198637B403 for ; Thu, 30 May 2002 09:02:30 -0700 (PDT) Received: (qmail 65656 invoked from network); 30 May 2002 16:02:29 -0000 Received: from unknown (HELO jocose.org) (10.0.0.100) by 0 with SMTP; 30 May 2002 16:02:29 -0000 Message-ID: <3CF64D23.7010702@jocose.org> Date: Thu, 30 May 2002 11:02:43 -0500 From: Peter Schultz Organization: jocose.org User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020525 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: Alfred Perlstein , Peter Wemm , Wilko Bulte , taguchi@tohoku.iij.ad.jp, freebsd-current@FreeBSD.ORG Subject: Re: XFree86-4-libraries build error References: <20020530073424.A2613@freebie.xs4all.nl> <20020530080003.D6BB4380A@overcee.wemm.org> <20020530080355.GN17045@elvis.mu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Alfred Perlstein writes: > >>* Peter Wemm [020530 01:01] wrote: >> >>>gcc-3.1 appears to have broken >>>#pragma weak foo = bar >> >>What's the correct way to do this now? > > > #pragma weak foo = "bar" > > as you'd have guessed if you'd bothered to read the error message and > look at the code > > DES Amazing, the obvious. Now I get this: rm -f ../../../../../lib/GL/mesa/src/translate.o unshared/../../../../../lib/GL/mesa/src/translate.o LD_LIBRARY_PATH=../../../../../exports/lib cc -c -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -I../../../../../exports/include/X11 -I../../../../../include/extensions -I../../../../../extras/Mesa/src/OSmesa -I../../../../../extras/Mesa/src -I../../../../../extras/Mesa/include -I../../../../.. -I../../../../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL ../../../../../lib/GL/mesa/src/translate.c -o unshared/../../../../../lib/GL/mesa/src/translate.o Assembler messages: FATAL: can't create unshared/../../../../../lib/GL/mesa/src/translate.o: No such file or directory *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/GL/mesa/src/OSmesa. The make needs to go back one more level: unshared/../../../../../../lib/GL/mesa/src/translate.o How to do this, I do not know. Pete... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message