[Libreoffice] Error compilation in vcl module

Julien Nabet serval2412 at yahoo.fr
Thu Dec 16 13:58:19 PST 2010


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.




More information about the LibreOffice mailing list