Date: Tue, 1 Feb 2005 11:12:02 +0100 (SNT) From: Peter Olsson <pol@leissner.se> To: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org Subject: Problems with OpenOffice compile after upgrade from 5.2.1 to 5.3 Message-ID: <20050201104045.O43425@pol.leissner.se>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050201104045.O43425>