From owner-freebsd-stable@FreeBSD.ORG Tue Feb 1 10:12:15 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC66C16A4CE; Tue, 1 Feb 2005 10:12:15 +0000 (GMT) Received: from gate.leissner.se (gate.leissner.se [212.3.0.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA8E443D46; Tue, 1 Feb 2005 10:12:13 +0000 (GMT) (envelope-from pol@leissner.se) Received: (from uucp@localhost) by gate.leissner.se (8.9.3-030919/8.9.3) id LAA12851; Tue, 1 Feb 2005 11:12:11 +0100 (CET) Received: from UNKNOWN(192.71.29.17), claiming to be "pol.leissner.se" via SMTP by gate.leissner.se, id smtpdF12813; Tue Feb 1 11:12:03 2005 Received: from pol.leissner.se (localhost.leissner.se [127.0.0.1]) by pol.leissner.se (8.13.1/8.13.1) with ESMTP id j11AC2mn089088; Tue, 1 Feb 2005 11:12:03 +0100 (CET) (envelope-from pol@leissner.se) Received: from localhost (pol@localhost)j11AC29r089085; Tue, 1 Feb 2005 11:12:02 +0100 (CET) (envelope-from pol@leissner.se) X-Authentication-Warning: pol.leissner.se: pol owned process doing -bs Date: Tue, 1 Feb 2005 11:12:02 +0100 (SNT) From: Peter Olsson To: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20050201104045.O43425@pol.leissner.se> X-NCC-RegID: se.leissner X-Organization: Leissner Data AB MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Problems with OpenOffice compile after upgrade from 5.2.1 to 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 10:12:15 -0000 I recently upgraded from 5.2.1-p{something} to 5.3-p5. The system seems fine after the upgrade, but I have one problem. The reason for the upgrade to 5.3 was to be able to compile OpenOffice, but when I tried to do that I got an error in the dmake part stating that the file types.h didn't exist. While searching for the cause of this problem I ended up in the directory /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3, where I moved away the whole include directory. Then the OpenOffice compile could finish the dmake part and continue. Later in the compile I got errors because the include directory was missing, so I moved it back. Now I get the error below about types.h. I think that the problem has to do with the fact that the files in /usr/local/lib/gcc-lib/ seem to be from the 5.2.1 release I had before upgrading. Why haven't these files been upgraded and how can I fix the problem? (I have to admit that I didn't go to single user before upgrading, I just killed almost all of the processes without [] in the ps list. This might be the cause of the problem.) I have successfully compiled some other applications after the upgrade, so the gcc-lib/i386-portbld-freebsd5.2.1 problem doesn't seem to break everything. Here is the current error: cd ./unxfbsd.pro/misc/build/STLport-4.5/src && gmake -f gcc-3.0-freebsd.mak -j1 && touch so_built_so_stlport g++32 -D_REENTRANT -fexceptions -I../stlport -DGXX_INCLUDE_PATH=/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/g++-v3 -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -fPIC dll_main.cpp -c -o ../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o In file included from /usr/include/pthread.h:42, from ../stlport/pthread.h:26, from ../stlport/stl/_threads.h:74, from ../stlport/stl/_alloc.h:64, from ../stlport/memory:28, from dll_main.cpp:38: /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/sys/types.h:251: syntax error before `;' token In file included from ../stlport/stl/_vector.h:572, from ../stlport/vector:36, from dll_main.cpp:39: ../stlport/stl/_bvector.h:37:1: warning: "__WORD_BIT" redefined In file included from /usr/include/sys/limits.h:36, from /usr/include/limits.h:128, from /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/limits.h:132, from /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/syslimits.h:7, from /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/limits.h:11, from /usr/include/pthread.h:45, from ../stlport/pthread.h:26, from ../stlport/stl/_threads.h:74, from ../stlport/stl/_alloc.h:64, from ../stlport/memory:28, from dll_main.cpp:38: /usr/include/machine/_limits.h:95:1: warning: this is the location of the previous definition gmake: *** [../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o] Fel 1 dmake: Error code 2, while making './unxfbsd.pro/misc/build/so_built_so_stlport' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-1.1-se/work/stlport dmake: Error code 1, while making 'instsetoo/prj/build_all' *** Error code 255 Stop in /usr/ports/editors/openoffice-1.1-se. ---* TG_SLO.MK *--- Thanks! -- Peter Olsson pol@leissner.se