[Libreoffice] Error compilation in vcl module

Julien Nabet serval2412 at yahoo.fr
Fri Dec 17 15:40:39 PST 2010


Hello,

After a :
./autogen.sh && make clean && make
it works now !
Thank you ! Next time i'll try to think about ./autogen.sh && make 
before adding make clean

Julien

Le 17/12/2010 08:14, Julien Nabet a écrit :
> Hello Norbert,
>
> I had done a ./g pull -r, I did this again 1 hour ago and I still got 
> the same error. (and again, i did a rm -rf unxlng*)
>
> In libs-gui, when i make git log, i've got :
> - last commit  :
> commit 64384c29136df68340bc3cccd2bcf98360b7fb6d
> Author: Thomas Klausner <wiz at NetBSD.org>
> Date:   Thu Dec 16 22:36:46 2010 +0100
>
>     Handle NetBSD like the other BSDs in more cases.
>
> - the commit you talked about :
> commit 7758d868da6c4d6f489300bfb517ab3bb7a6dce9
> Author: Caolán McNamara <caolanm at redhat.com>
> Date:   Tue Dec 14 09:13:48 2010 +0000
>
>     get this to build without errors
>
> Perhaps must I do a make clean ? Now my ccache config is ok, it should 
> be quicker to compile ! :-)
>
> Julien.
>
> Le 16/12/2010 23:39, Norbert Thiebaud a écrit :
>> Julien
>>
>> make sure you have pulled 
>> libs-gui:7758d868da6c4d6f489300bfb517ab3bb7a6dce9
>>
>> Norbert
>>
>>
>> On Thu, Dec 16, 2010 at 3:58 PM, Julien Nabet<serval2412 at yahoo.fr>  
>> wrote:
>>> Hello,
>>>
>>> Here the error I get when I compile vcl (i removed unxlng but same 
>>> result) :
>>> Entering /home/serval/libreoffice-source/libo/vcl/unx/gtk/gdi
>>>
>>> Entering 
>>> /home/serval/libreoffice-source/libo/vcl/unx/source/fontmanager
>>>
>>> Compiling: vcl/unx/source/fontmanager/parseAFM.cxx
>>> g++  -fmessage-length=0 -c -Os -fno-strict-aliasing -DENABLE_LAYOUT=0
>>> -DENABLE_LAYOUT_EXPERIMENTAL=0   -I../fontsubset 
>>> -I/usr/include/freetype2
>>>   -I. -I../../../unxlngi6.pro/inc/fontman -I../inc -I../../../inc/pch
>>> -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I.
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/stl
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/external 
>>>
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc
>>> -I/home/serval/libreoffice-source/libo/solenv/unxlngi6/inc
>>> -I/home/serval/libreoffice-source/libo/solenv/inc
>>> -I/home/serval/libreoffice-source/libo/res
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/stl
>>> -I/home/serval/libreoffice-source/libo/solenv/inc/Xp31
>>> -I/usr/lib/jvm/java-6-openjdk/include
>>> -I/usr/lib/jvm/java-6-openjdk/include/linux
>>> -I/usr/lib/jvm/java-6-openjdk/include/native_threads/include 
>>> -I/usr/include
>>>   
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/offuh 
>>>
>>> -I. -I../../../res -I. -pipe -mtune=pentiumpro 
>>> -fvisibility-inlines-hidden
>>> -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy
>>> -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL
>>> -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
>>> -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE 
>>> -DUNIX
>>> -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.4 -DSUPD=330 
>>> -DPRODUCT
>>> -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA
>>> -DENABLE_FONTCONFIG -DSHAREDLIB -D_DLL_   -fexceptions 
>>> -fno-enforce-eh-specs
>>> -DEXCEPTIONS_ON  -o ../../../unxlngi6.pro/slo/parseAFM.o
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx 
>>>
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx: 
>>>
>>> In function 'psp::parseKey psp::recognize(char*, int)':
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:340: 
>>>
>>> error: expected initializer before '*' token
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:341: 
>>>
>>> error: 'pEntry' was not declared in this scope
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx: 
>>>
>>> At global scope:
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:338: 
>>>
>>> warning: unused parameter 'ident'
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:338: 
>>>
>>> warning: unused parameter 'len'
>>> dmake:  Error code 1, while making 
>>> '../../../unxlngi6.pro/slo/parseAFM.obj'
>>> Forcing regeneration of dependency info
>>>
>>> Retrying 
>>> /home/serval/libreoffice-source/libo/vcl/unx/source/fontmanager
>>>
>>> Making:    all_fontman.dpslo
>>> Compiling: vcl/unx/source/fontmanager/parseAFM.cxx
>>> g++  -fmessage-length=0 -c -Os -fno-strict-aliasing -DENABLE_LAYOUT=0
>>> -DENABLE_LAYOUT_EXPERIMENTAL=0   -I../fontsubset 
>>> -I/usr/include/freetype2
>>>   -I. -I../../../unxlngi6.pro/inc/fontman -I../inc -I../../../inc/pch
>>> -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I.
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/stl
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/external 
>>>
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc
>>> -I/home/serval/libreoffice-source/libo/solenv/unxlngi6/inc
>>> -I/home/serval/libreoffice-source/libo/solenv/inc
>>> -I/home/serval/libreoffice-source/libo/res
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/stl
>>> -I/home/serval/libreoffice-source/libo/solenv/inc/Xp31
>>> -I/usr/lib/jvm/java-6-openjdk/include
>>> -I/usr/lib/jvm/java-6-openjdk/include/linux
>>> -I/usr/lib/jvm/java-6-openjdk/include/native_threads/include 
>>> -I/usr/include
>>>   
>>> -I/home/serval/libreoffice-source/libo/solver/330/unxlngi6.pro/inc/offuh 
>>>
>>> -I. -I../../../res -I. -pipe -mtune=pentiumpro 
>>> -fvisibility-inlines-hidden
>>> -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy
>>> -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL
>>> -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
>>> -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE 
>>> -DUNIX
>>> -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.4 -DSUPD=330 
>>> -DPRODUCT
>>> -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA
>>> -DENABLE_FONTCONFIG -DSHAREDLIB -D_DLL_   -fexceptions 
>>> -fno-enforce-eh-specs
>>> -DEXCEPTIONS_ON  -o ../../../unxlngi6.pro/slo/parseAFM.o
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx 
>>>
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx: 
>>>
>>> In function 'psp::parseKey psp::recognize(char*, int)':
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:340: 
>>>
>>> error: expected initializer before '*' token
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:341: 
>>>
>>> error: 'pEntry' was not declared in this scope
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx: 
>>>
>>> At global scope:
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:338: 
>>>
>>> warning: unused parameter 'ident'
>>> /home/serval/libreoffice-source/libo/clone/libs-gui/vcl/unx/source/fontmanager/parseAFM.cxx:338: 
>>>
>>> warning: unused parameter 'len'
>>> dmake:  Error code 1, while making 
>>> '../../../unxlngi6.pro/slo/parseAFM.obj'
>>>
>>> Julien.
>>>
>>>
>>> _______________________________________________
>>> LibreOffice mailing list
>>> LibreOffice at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>>>
>



More information about the LibreOffice mailing list