I am trying to sort out the build on Ubuntu 12.04 and other than packaging I have a single issue. (I'm using build --all --html -P4 -- -P4 , so many packages are built after the initial failure is reached)

In addition to exact causes, I'm also looking for how people are debugging (running cmds in isolation, from memory ("I saw something like that once"), by Google, etc.) Thus, I'm trying to use this thread both to solve this problem, but to also leave a trail for others hitting the same or similar issues.

In the build, binfilters compiles until there are 3 modules left, and fails on filter/source/bf_offwrp with the following error:

   m -f ../../../unxlngi6.pro/lib/check_libbf_wrapper.so
   mv ../../../unxlngi6.pro/lib/libbf_wrapper.so
   ../../../unxlngi6.pro/lib/check_libbf_wrapper.so
   /home/arist/apache/ooo/main/solenv/bin/checkdll.sh
   -L../../../unxlngi6.pro/lib
-L/home/arist/apache/ooo/main/solver/340/unxlngi6.pro/lib ../../../unxlngi6.pro/lib/check_libbf_wrapper.so : && LD_LIBRARY_PATH=/home/arist/apache/ooo/main/solver/340/unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
   /home/arist/apache/ooo/main/solver/340/unxlngi6.pro/bin/xsltproc
   --nonet --stringparam uri \
'vnd.sun.star.expand:$OOO_BASE_DIR/program/libbf_wrapper.so' -o
   ../../../unxlngi6.pro/misc/bf_wrapper.component \
            /home/arist/apache/ooo/main/solenv/bin/createcomponent.xslt
   bf_wrapper.component
   Making:    libbf_wrapper.so
   Making:    all_bf_wrapper.dpslo
   g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions
   -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
   -Wl,--hash-style=both -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib'
   -shared -L../../../unxlngi6.pro/lib -L../lib
   -L/home/arist/apache/ooo/main/solenv/unxlngi6/lib
   -L/home/arist/apache/ooo/main/solver/340/unxlngi6.pro/lib
   -L/home/arist/apache/ooo/main/solenv/unxlngi6/lib
   -L/usr/lib/jvm/java-6-openjdk/lib
   -L/usr/lib/jvm/java-6-openjdk/jre/lib/i386
   -L/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client
   -L/usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads
   -L/usr/lib/i386-linux-gnu ../../../unxlngi6.pro/slo/bf_wrapper.o
   ../../../unxlngi6.pro/slo/bf_wrapper_version.o -o
   ../../../unxlngi6.pro/lib/libbf_wrapper.so -lbf_so -lbf_svt -lbf_ofa
   -lvcl -lsot -luno_sal -ltl -luno_cppu -luno_cppuhelpergcc3 -lbf_ysch
   -lbf_ysm -lbf_swlib -lbf_sdlib -lbf_sclib -lbf_svx -lutl
   -lcomphelpgcc3 -llegacy_binfilters -Wl,--as-needed -ldl -lpthread
   -lm -Wl,--no-as-needed -Wl,-Bdynamic -lstlport_gcc
   ../../../unxlngi6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function
   `binfilter::SdDrawDocShell::RegisterFactory(unsigned short)':
   sd_sdlib.cxx:(.text+0x429): undefined reference to
   `binfilter::SvFactory::Register()'
   ../../../unxlngi6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function
   `binfilter::SdGraphicDocShell::RegisterFactory(unsigned short)':
   sd_sdlib.cxx:(.text+0x141b): undefined reference to
   `binfilter::SvFactory::Register()'
   ../../../unxlngi6.pro/lib/libbf_ysch.a(sch_schlib.o): In function
   `binfilter::SchChartDocShell::RegisterFactory(unsigned short)':
   sch_schlib.cxx:(.text+0x41f): undefined reference to
   `binfilter::SvFactory::Register()'
   ../../../unxlngi6.pro/lib/libbf_ysm.a(starmath_smlib.o): In function
   `binfilter::SmDocShell::RegisterFactory(unsigned short)':
   starmath_smlib.cxx:(.text+0x6cf): undefined reference to
   `binfilter::SvFactory::Register()'
   ../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o): In function
   `binfilter::SwIoSystem::IsValidStgFilter(binfilter::SvStorage&,
   binfilter::SfxFilter const&)':
   sw_swlib.cxx:(.text+0x3f7): undefined reference to
   `binfilter::SvStorage::OpenSotStream(String const&, unsigned short,
   short)'
   ../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o): In function
   `binfilter::SwDocShell::RegisterFactory(unsigned short)':
   sw_swlib.cxx:(.text+0xd9d): undefined reference to
   `binfilter::SvFactory::Register()'
   ../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o): In function
   `binfilter::SwIoSystem::GetFileFilter(String const&, String const&,
   binfilter::SfxMedium*)':
   sw_swlib.cxx:(.text+0x13de): undefined reference to
   `binfilter::SvStorage::IsStorageFile(String const&)'
   sw_swlib.cxx:(.text+0x1431): undefined reference to
   `binfilter::SvStorage::SvStorage(String const&, unsigned short, short)'
   ../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o): In function
   `binfilter::SwWebDocShell::RegisterFactory(unsigned short)':
   sw_swlib.cxx:(.text+0x1969): undefined reference to
   `binfilter::SvFactory::Register()'
   ../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o): In function
   `binfilter::SwGlobalDocShell::RegisterFactory(unsigned short)':
   sw_swlib.cxx:(.text+0x1bd9): undefined reference to
   `binfilter::SvFactory::Register()'
   ../../../unxlngi6.pro/lib/libbf_sclib.a(sc_sclib.o): In function
   `binfilter::ScDocShell::RegisterFactory(unsigned short)':
   sc_sclib.cxx:(.text+0x409): undefined reference to
   `binfilter::SvFactory::Register()'
   collect2: ld returned 1 exit status
   dmake:  Error code 1, while making
   '../../../unxlngi6.pro/lib/libbf_wrapper.so'

some additional info from config:

   checking the GNU gcc compiler version... checked (gcc 4.6)
   checking the installed JDK... checked (JDK 1.6.0_24)
   checking the GNU make version... make 3.81
   checking the GNU C++ compiler version... checked (g++ 4.6)
   checking for g++ include path... /usr/include/c++/4.6
   checking epm version... OK, >= 3.7
   checking whether libc is >= 2.1.1... yes

as always...  thanks in advance for the help.

Reply via email to