Apache OpenOffice (AOO) Bugzilla – Issue 17324
sparc/linux compile fails in sal
Last modified: 2004-02-17 09:03:22 UTC
Hi, I just tried to building 1.1rc debs for Sparc/Linux under Debian GNU/Linux sid. I get the following compile error in sal: ============= Building project sal ============= /scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/sal/osl/all ------------- /scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/sal/osl/unx ------------------------------ Making: ../../unxlngs.pro/obj/conditn.obj ccache gcc-3.2 -fmessage-length=0 -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxlngs.pro/inc -I. -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/solver/645/unxlngs.pro/inc/dont_use_stl -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/solver/645/unxlngs.pro/inc/external -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/solver/645/unxlngs.pro/inc -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/solenv/unxlngs/inc -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/solenv/inc -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/res -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/solver/645/unxlngs.pro/inc/dont_use_stl -I/scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/solenv/inc/Xp31 -I/scratch/rene/j2sdk1.3.1/include -I/scratch/rene/j2sdk1.3.1/include/linux -I/scratch/rene/j2sdk1.3.1/include/native_threads/include -I/usr/X11R6/include -I. -I../../res -I. -O1 -O1 -pipe -DLINUX -DUNX -DVCL -DGCC -DC300 -DSPARC -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DSPARC -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DBUILD=8639 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DMULTITHREAD -o ../../unxlngs.pro/obj/conditn.o conditn.c In file included from /usr/include/asm/sigcontext.h:11, from system.h:113, from conditn.c:63: /usr/include/asm-sparc/sigcontext.h:14: redefinition of `struct sigcontext' dmake: Error code 1, while making '../../unxlngs.pro/obj/conditn.obj' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making scratch/rene/openoffice.org-1.0.99+1.1rc/build-tree/oo_1.1rc_src/sal/osl/unx Regards, René
Please see issue #15629 for the solution to this. I will attach my build guide for sparc linux at issue #17420 in a few minutes time. To see all the relevant issues search on "subject" - all words - sparc linux , be sure to select all type of status - unconfirmed, resolved etc.
Please CC all sparc linux issues to sparcmoz@openoffice.org
i dont have a "confirm" button but i do CONFIRM this. there are two different implementations of function sigcontext on sparc linux, one is in /usr/include/bits/sigcontext.h and the other is in /usr/include/asm-sparc/sigcontext.h. the first named has this text: #if !defined _SIGNAL_H && !defined _SYS_UCONTEXT_H # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead." #endif
as Jim already says, this thing is already mentioned in 15629. Marking this issue as a duplicate of that. *** This issue has been marked as a duplicate of 15629 ***
verified.
close issue.