Issue 17324 - sparc/linux compile fails in sal
Summary: sparc/linux compile fails in sal
Status: CLOSED DUPLICATE of issue 15629
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: Sun Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 21:05 UTC by rene
Modified: 2004-02-17 09:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rene 2003-07-23 21:05:19 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é
Comment 1 sparcmoz 2003-07-26 04:21:01 UTC
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.
Comment 2 sparcmoz 2003-07-26 04:30:07 UTC
Please CC all sparc linux issues to sparcmoz@openoffice.org
Comment 3 sparcmoz 2003-07-26 04:48:02 UTC
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
Comment 4 rene 2003-07-26 09:34:54 UTC
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 ***
Comment 5 Martin Hollmichel 2004-02-17 09:01:00 UTC
verified.
Comment 6 Martin Hollmichel 2004-02-17 09:03:22 UTC
close issue.