Hello all,
I am trying to install OpenOffice-1.1.4 from chapter 34 and got an error during the build. I followed all of the instructions including applying the patches up to and including:

bash -c "source LinuxIntelEnv.Set.sh; dmake"

my only difference was adding the options --enable-kde and --with-x to the configuration. Here is the pertinent part of the output:

=============
Building project soltools
=============
/sources/BLFS-Sources/OOo-build/soltools/mkdepend
mkout -- version: 1.3
------------------------------
Making: ../unxlngi4.pro/misc/make_makedepend.dpc
NOT-Making: Depend-Lists
------------------------------
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/sources/BLFS-Sources/OOo-build/solver/645/unxlngi4.pro/inc/dont_use_stl -I/sources/BLFS-Sources/OOo-build/solver/645/unxlngi4.pro/inc/external -I/sources/BLFS-Sources/OOo-build/solver/645/unxlngi4.pro/inc -I/sources/BLFS-Sources/OOo-build/solenv/unxlngi4/inc -I/sources/BLFS-Sources/OOo-build/solenv/inc -I/sources/BLFS-Sources/OOo-build/res -I/sources/BLFS-Sources/OOo-build/solver/645/unxlngi4.pro/inc/dont_use_stl -I/sources/BLFS-Sources/OOo-build/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 -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3 -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=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -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: parse error before "size_t"
/usr/include/gconv.h:88: error: parse error before "size_t"
/usr/include/gconv.h:97: error: parse error before "size_t"
/usr/include/gconv.h:174: error: parse error before "size_t"
/usr/include/gconv.h:177: error: parse 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:354: error: parse error before "size_t"
/usr/include/libio.h:363: error: parse error before "size_t"
/usr/include/libio.h:479: error: parse error before "_IO_sgetn"
/usr/include/libio.h:479: error: parse error before "size_t"
In file included from def.h:39,
                from cppsetup.c:29:
/usr/include/stdio.h:302: error: parse error before "size_t"
/usr/include/stdio.h:309: error: parse error before "size_t"
/usr/include/stdio.h:351: error: parse error before "size_t"
/usr/include/stdio.h:355: error: parse error before "size_t"
/usr/include/stdio.h:603: error: parse error before "fread"
/usr/include/stdio.h:603: error: parse error before "size_t"
/usr/include/stdio.h:609: error: parse error before "fwrite"
/usr/include/stdio.h:609: error: parse error before "size_t"
/usr/include/stdio.h:631: error: parse error before "fread_unlocked"
/usr/include/stdio.h:631: error: parse error before "size_t"
/usr/include/stdio.h:633: error: parse error before "fwrite_unlocked"
/usr/include/stdio.h:633: error: parse error before "size_t"
In file included from def.h:40,
                from cppsetup.c:29:
/usr/include/stdlib.h:140: error: parse error before "__ctype_get_mb_cur_max"
In file included from /usr/include/sys/types.h:133,
                from /usr/include/stdlib.h:433,
                from def.h:40,
                from cppsetup.c:29:
/usr/include/linux/time.h:2:2: warning: #warning "You should include <sys/time.h>. This time I will do it for you."
In file included from /usr/include/sys/time.h:26,
                from /usr/include/linux/time.h:4,
                from /usr/include/sys/types.h:133,
                from /usr/include/stdlib.h:433,
                from def.h:40,
                from cppsetup.c:29:
/usr/include/linux/time.h:2:2: warning: #warning "You should include <sys/time.h>. This time I will do it for you."
In file included from /usr/include/sys/select.h:44,
                from /usr/include/sys/time.h:30,
                from /usr/include/linux/time.h:4,
                from /usr/include/sys/types.h:133,
                from /usr/include/stdlib.h:433,
                from def.h:40,
                from cppsetup.c:29:
/usr/include/linux/time.h:2:2: warning: #warning "You should include <sys/time.h>. This time I will do it for you."
In file included from def.h:40,
                from cppsetup.c:29:
/usr/include/stdlib.h:450: error: parse error before "size_t"
/usr/include/stdlib.h:480: error: parse error before "size_t"
/usr/include/stdlib.h:584: error: parse error before "__size"
/usr/include/stdlib.h:586: error: parse error before "__nmemb"
/usr/include/stdlib.h:595: error: parse error before "size_t"
In file included from /usr/include/stdlib.h:606,
                from def.h:40,
                from cppsetup.c:29:
/usr/include/alloca.h:33: error: parse error before "__size"
In file included from def.h:40,
                from cppsetup.c:29:
/usr/include/stdlib.h:611: error: parse error before "__size"
/usr/include/stdlib.h:768: error: parse error before "size_t"
/usr/include/stdlib.h:773: error: parse error before "size_t"
/usr/include/stdlib.h:846: error: parse error before "size_t"
/usr/include/stdlib.h:849: error: parse error before "size_t"
/usr/include/stdlib.h:853: error: parse error before "size_t"
/usr/include/stdlib.h:857: error: parse error before "size_t"
/usr/include/stdlib.h:866: error: parse error before "size_t"
/usr/include/stdlib.h:869: error: parse error before '*' token
/usr/include/stdlib.h:873: error: parse error before "wchar_t"
/usr/include/stdlib.h:877: error: parse error before "mbstowcs"
/usr/include/stdlib.h:877: error: parse error before '*' token
/usr/include/stdlib.h:880: error: parse error before "wcstombs"
/usr/include/stdlib.h:881: error: parse error before '*' token
In file included from /usr/include/sys/stat.h:37,
                from def.h:50,
                from cppsetup.c:29:
/usr/include/linux/time.h:2:2: warning: #warning "You should include <sys/time.h>. This time I will do it for you."
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 /sources/BLFS-Sources/OOo-build/soltools/mkdepend
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---




It looks like it doesn't like some of my header files, but I am not sure exactly what the problem is. I am sure more info will be needed to figure this out, but I can't realistically list my entire configuration. I built LFS 6.1.1 and have added many BLFS packages including X.org and KDE (hence the extra options in the configuration). Any help would be greatly appreciated.
Thanks,
Joel
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to