Issue 24279 - compilation error
Summary: compilation error
Status: CLOSED DUPLICATE of issue 12892
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-10 22:02 UTC by diff
Modified: 2004-02-17 09:03 UTC (History)
1 user (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 diff 2004-01-10 22:02:33 UTC
If I compile OO how says at http://kde.openoffice.org/ooo-qt/index.html,
compilation stop with error at soltools. What's I do wrong or when it may be fixed?

=============
Building project soltools
=============
/usr/src/OOo/soltools/mkdepend
------------------------------
Making: ../unxlngi4.pro/obj/cppsetup.obj
gcc -fmessage-length=0 -c -I.  -I. -I../inc -I../inc -I../unx/inc
-I../unxlngi4.pro/inc -I.
-I/usr/src/OOo/solver/680/unxlngi4.pro/inc/dont_use_stl
-I/usr/src/OOo/solver/680/unxlngi4.pro/inc/external
-I/usr/src/OOo/solver/680/unxlngi4.pro/inc -I/usr/src/OOo/solenv/unxlngi4/inc
-I/usr/src/OOo/solenv/inc -I/usr/src/OOo/res
-I/usr/src/OOo/solver/680/unxlngi4.pro/inc/dont_use_stl
-I/usr/src/OOo/solenv/inc/Xp31 -I/usr/include -I/usr/include/linux
-I/usr/include/native_threads/include -I/usr/X11R6/include     -I. -I../res -I.
-O1   -pipe -mcpu=pentiumpro  -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL
-DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3 -DSUPD=680 -DBUILD=8716 -DPRODUCT -DNDEBUG -DPRODUCT_FULL
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX680 
-DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\".\" -DSINGLETHREAD   -o
../unxlngi4.pro/obj/cppsetup.o cppsetup.c
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/gconv.h:72: error: syntax error before "size_t"
/usr/include/gconv.h:88: error: syntax error before "size_t"
/usr/include/gconv.h:97: error: syntax error before "size_t"
/usr/include/gconv.h:174: error: syntax error before "size_t"
/usr/include/gconv.h:177: error: syntax error before '}' token
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/_G_config.h:47: error: field `__cd' has incomplete type
/usr/include/_G_config.h:50: error: field `__cd' has incomplete type
In file included from /usr/include/stdio.h:72,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/libio.h:351: error: syntax error before "size_t"
/usr/include/libio.h:360: error: syntax error before "size_t"
/usr/include/libio.h:468: error: syntax error before "_IO_sgetn"
/usr/include/libio.h:468: error: syntax error before "size_t"
In file included from def.h:39,
                 from cppsetup.c:29:
/usr/include/stdio.h:304: error: syntax error before "size_t"
/usr/include/stdio.h:311: error: syntax error before "size_t"
/usr/include/stdio.h:353: error: syntax error before "size_t"
/usr/include/stdio.h:357: error: syntax error before "size_t"
/usr/include/stdio.h:605: error: syntax error before "fread"
/usr/include/stdio.h:605: error: syntax error before "size_t"
/usr/include/stdio.h:611: error: syntax error before "fwrite"
/usr/include/stdio.h:611: error: syntax error before "size_t"
/usr/include/stdio.h:633: error: syntax error before "fread_unlocked"
/usr/include/stdio.h:633: error: syntax error before "size_t"
/usr/include/stdio.h:635: error: syntax error before "fwrite_unlocked"
/usr/include/stdio.h:635: error: syntax error before "size_t"
In file included from def.h:40,
                 from cppsetup.c:29:
/usr/include/stdlib.h:137: error: syntax error before "__ctype_get_mb_cur_max"
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/stdlib.h:416,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/linux/time.h:10: error: syntax error before "time_t"
/usr/include/linux/time.h:12: error: syntax error before '}' token
/usr/include/linux/time.h:18: error: syntax error before "time_t"
/usr/include/linux/time.h:44: error: field `it_interval' has incomplete type
/usr/include/linux/time.h:45: error: field `it_value' has incomplete type
/usr/include/linux/time.h:49: error: field `it_interval' has incomplete type
/usr/include/linux/time.h:50: error: field `it_value' has incomplete type
In file included from /usr/include/sys/types.h:266,
                 from /usr/include/stdlib.h:416,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/bits/pthreadtypes.h:48: error: syntax error before "size_t"
/usr/include/bits/pthreadtypes.h:51: error: syntax error before "__stacksize"
In file included from def.h:40,
                 from cppsetup.c:29:
/usr/include/stdlib.h:433: error: syntax error before "size_t"
/usr/include/stdlib.h:462: error: syntax error before "size_t"
/usr/include/stdlib.h:556: error: syntax error before "__size"
/usr/include/stdlib.h:558: error: syntax error before "__nmemb"
/usr/include/stdlib.h:567: error: syntax error before "size_t"
In file included from /usr/include/stdlib.h:578,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/alloca.h:33: error: syntax error before "__size"
In file included from def.h:40,
                 from cppsetup.c:29:
/usr/include/stdlib.h:583: error: syntax error before "__size"
/usr/include/stdlib.h:739: error: syntax error before "size_t"
/usr/include/stdlib.h:743: error: syntax error before "size_t"
/usr/include/stdlib.h:812: error: syntax error before "size_t"
/usr/include/stdlib.h:815: error: syntax error before "size_t"
/usr/include/stdlib.h:819: error: syntax error before "size_t"
/usr/include/stdlib.h:822: error: syntax error before "size_t"
/usr/include/stdlib.h:830: error: syntax error before "size_t"
/usr/include/stdlib.h:833: error: syntax error before '*' token
/usr/include/stdlib.h:837: error: syntax error before "wchar_t"
/usr/include/stdlib.h:841: error: syntax error before "mbstowcs"
/usr/include/stdlib.h:841: error: syntax error before '*' token
/usr/include/stdlib.h:844: error: syntax error before "wcstombs"
/usr/include/stdlib.h:845: error: syntax error before '*' token
In file included from /usr/include/sys/stat.h:105,
                 from def.h:50,
                 from cppsetup.c:29:
/usr/include/bits/stat.h:70: error: field `st_atim' has incomplete type
/usr/include/bits/stat.h:71: error: field `st_mtim' has incomplete type
/usr/include/bits/stat.h:72: error: field `st_ctim' has incomplete type
/usr/include/gconv.h:176: warning: array `__data' assumed to have one element
dmake:  Error code 1, while making '../unxlngi4.pro/obj/cppsetup.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /usr/src/OOo/soltools/mkdepend
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
Comment 1 Olaf Felka 2004-01-12 08:49:01 UTC
of @ mh: Please have a look.
Comment 2 foskey 2004-01-12 09:36:19 UTC
This is a JAVA issue.   You are using the Java installed by the distribution. 
Configure mucks up the configuration in this circumstance.


*** This issue has been marked as a duplicate of 12892 ***
Comment 3 Martin Hollmichel 2004-02-17 09:01:13 UTC
verified.
Comment 4 Martin Hollmichel 2004-02-17 09:03:32 UTC
close issue.