[Libreoffice] Build Failed

Ercole Carpanetto ercole69 at gmail.com
Mon Apr 18 21:32:42 PDT 2011


On 19 April 2011 04:29, Kohei Yoshida <kyoshida at novell.com> wrote:
> On Mon, 2011-04-18 at 20:15 +0200, Ercole Carpanetto wrote:
>> Hi, I'm trying to build the 3.3.2 on Linux but it stops with an error.
>> I've followed the instruction and rebuilt only the failing module (see
>> attachment for error log).
>
> Hmm...  Perhaps you forgot to attach the error log?  I don't see any
> attachment in your post.
>
> Kohei

ops...sorry
Ercole
-- 
Freedom is nothing else but a chance to be better.
A.Camus
-------------- next part --------------
[ercolinux at openmamba SPECS]$ /bin/bash
[ercolinux at openmamba SPECS]$ cd /usr/src/RPM/BUILD/libreoffice-3.3.2.1
[ercolinux at openmamba libreoffice-3.3.2.1]$ source ./LinuxX86Env.Set.sh
[ercolinux at openmamba libreoffice-3.3.2.1]$ cd soltools
[ercolinux at openmamba soltools]$ build
build -- version: 275224


=============
Building module soltools
=============

Entering /usr/src/RPM/BUILD/libreoffice-3.3.2.1/soltools/mkdepend

Compiling: soltools/mkdepend/cppsetup.c
In file included from /usr/include/stdio.h:75:0,
                 from def.h:40,
                 from cppsetup.c:30:
/usr/include/libio.h:332:3: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364:62: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373:6: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:495:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from def.h:40:0,
                 from cppsetup.c:30:
/usr/include/stdio.h:316:35: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:322:47: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:334:20: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:341:10: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:383:44: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:385:6: error: format string argument not a string type
/usr/include/stdio.h:387:45: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:659:11: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:662:9: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:672:8: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:702:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:708:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:730:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:732:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from def.h:41:0,
                 from cppsetup.c:30:
/usr/include/stdlib.h:140:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'
In file included from /usr/include/sys/select.h:46:0,
                 from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from def.h:41,
                 from cppsetup.c:30:
/usr/include/bits/time.h:75:8: error: redefinition of 'struct timeval'
/usr/include/linux/time.h:15:8: note: originally defined here
In file included from def.h:41:0,
                 from cppsetup.c:30:
/usr/include/stdlib.h:337:4: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:367:4: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:369:6: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:471:29: error: expected ')' before '__size'
/usr/include/stdlib.h:473:29: error: expected ')' before '__nmemb'
/usr/include/stdlib.h:485:36: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/stdlib.h:497:0,
                 from def.h:41,
                 from cppsetup.c:30:
/usr/include/alloca.h:33:29: error: expected ')' before '__size'
In file included from def.h:41:0,
                 from cppsetup.c:30:
/usr/include/stdlib.h:503:29: error: expected ')' before '__size'
/usr/include/stdlib.h:508:45: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:508:65: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:756:9: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:756:25: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:757:6: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:761:34: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:761:50: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:762:6: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:840:6: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:843:6: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:847:31: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:851:31: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:860:38: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:863:28: error: expected ')' before '*' token
/usr/include/stdlib.h:867:31: error: expected declaration specifiers or '...' before 'wchar_t'
/usr/include/stdlib.h:871:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'
/usr/include/stdlib.h:874:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'
cppsetup.c: In function '_lookup_variable':
cppsetup.c:166:5: warning: implicit declaration of function 'strncpy'
cppsetup.c:166:5: warning: incompatible implicit declaration of built-in function 'strncpy'
cppsetup.c: In function '_my_eval_variable':
cppsetup.c:204:5: warning: implicit declaration of function 'strlen'
cppsetup.c:204:32: warning: incompatible implicit declaration of built-in function 'strlen'
dmake:  Error code 1, while making '../unxlngi6.pro/obj/cppsetup.obj'


More information about the LibreOffice mailing list