[Libreoffice] error in put()

Thomas Klausner wiz at NetBSD.org
Sun Oct 17 09:13:52 PDT 2010


On Sun, Oct 17, 2010 at 05:58:23PM +0200, Thomas Klausner wrote:
> With some help from Fridrich, we found that it wanted to use the
> external one, but still doesn't respect LDFLAGS here. Setting
> ENVLINKFLAGS solved this problem.
> 
> Fails later now, though:
> Making:    libstdstrm.a
> ar -r -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
> ../unxbsdx3.pro/lib/libstdstrm.a ../unxbsdx3.pro/obj/stream.o
> ../unxbsdx3.pro/obj/strmsys.o ../unxbsdx3.pro/obj/cachestr.o
> ../unxbsdx3.pro/obj/vcompat.o
> ranlib ../unxbsdx3.pro/lib/libstdstrm.a
> ar: illegal option -- L

Running parts of the build without environment variables, parts with,
makes it continue until:
g++ -fmessage-length=0 -c -O1 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0   -I/usr/pkg/include -I/usr/pkg/include/libxml2   -DSYSTEM_DB -I/usr/pkg/include -DSYSTEM_EXPAT -I. -I../../unxbsdx3.pro/inc/HelpLinker -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxbsdx3.pro/inc -I. -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/stl -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/external -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solenv/unxbsdx3/inc -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solenv/inc -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/res -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/stl -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solenv/inc/Xp31 -I/usr/pkg/java/openjdk7/include -I/usr/pkg/java/openjdk7/include/netbsd -I/usr/pkg/java/openjdk7/include/native_threads/include -I/usr/X11R7/include  -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/offuh -I. -I../../res -I. -pipe   -Wno-ctor-dtor-privacy    -DNETBSD -DUNX -DVCL -DGCC -DC341 -DX86_64 -DX86_64 -pthread -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/g++ -DSUPD=330 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DHELPLINKER_DLLIMPLEMENTATION   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../unxbsdx3.pro/obj/HelpLinker.o /disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx: In member function 'void HelpKeyword::dump(DB*)':
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx:231: error: invalid conversion from 'DBT*' to 'unsigned int'
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx:231: error: too many arguments to function
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx: In member function 'void HelpLinker::addBookmark(DB*, FILE*, std::string, const std::string&, const std::string&, const std::string&, const std::string&)':
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx:383: error: invalid conversion from 'DBT*' to 'unsigned int'
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx:383: error: too many arguments to function
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx: In member function 'void HelpLinker::link()':
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx:679: error: invalid conversion from 'DBT*' to 'unsigned int'
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/l10ntools/source/help/HelpLinker.cxx:679: error: too many arguments to function
dmake:  Error code 1, while making '../../unxbsdx3.pro/obj/HelpLinker.obj'

Line 231 is:
            table->put(table, NULL, &key, &value, 0);
383 is:
        dbBase->put(dbBase, NULL, &key, &data, 0);
679 is:
                    helpText->put(helpText, NULL, &keyDbt, &textDbt, 0);


What's the "put" prototype?
 Thomas


More information about the LibreOffice mailing list