Re: Re: openoffice build

Rohit Kulkarni <[email protected]>
Newsgroups gmane.comp.openoffice.devel.general
Message-ID <[email protected]>
Thank you for quick reply.
The patch you have given solved the roqet.o error but now the following
error occured related to same redland module.
Error is-->

gcc -DLIBRDF_INTERNAL=1 -g -O2 -DLIBRDF_INTERNAL=1 -g -O2 -o .libs/rdfproc
rdfproc.o -Wl,-rpath -Wl,\$ORIGIN:\$ORIGIN/../ure-link/lib
-Wl,-noinhibit-exec -Wl,-z -Wl,noexecstack
-L/home/rohan/OOO/OOO320_m19/solver/320/unxlngi6.pro/lib../librdf/.libs/librdf.so
 -Wl,--rpath -Wl,/usr/local/lib

/usr/bin/ld: warning: librasqal.so.1, needed by ../librdf/.libs/librdf.so,
not found (try using -rpath or -rpath-link)
/usr/bin/ld: rdfproc.o: undefined reference to symbol 'raptor_free_iostream'
/usr/bin/ld: note: 'raptor_free_iostream' is defined in DSO
/usr/lib/libraptor.so.1 so try adding it to the linker command line
/usr/lib/libraptor.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [rdfproc] Error 1
make[1]: Leaving directory `/home/rohan/OOO/OOO320_m19/redland/
unxlngi6.pro/misc/build/redland-1.0.8/utils'
make: *** [all-recursive] Error 1
dmake:  Error code 2, while making '../
unxlngi6.pro/misc/build/so_built_so_redland'

ERROR: Error 65280 occurred while making
/home/rohan/OOO/OOO320_m19/redland/redland
rmdir /tmp/9w4_7A0l8z


Regards,
Rohit
On Wed, Feb 2, 2011 at 3:58 PM, Michael Stahl <[email protected]>wrote:

> On 24/01/2011 17:15, Rohit Kulkarni wrote:
> > I am getting the error while building OpenOffice.
> > I have done ./configure successfully. Then ./bootstrap also.
> > And then when
> > cd instsetoo_native && build --all
> > is executed. After 1 hour, it gave me error->
> >
> > /usr/bin/ld: roqet.o : undefined reference to symbol
> 'raptor_serialize_end'
> > /usr/bin/ld: note: 'raptor_serialize_end' is defined is DSO
> > /usr/lib/libraptor.so.1 so try adding it to linker command line
> > /usr/lib/libraptor.so.1: could not read symbols : Invalid operation
> > collect2: ld returned 1 exit status
>
> apparently the GNU ld behavior with regard to missing symbols has changed
> in recent linux distros.
>
> this particular rasqal problem was fixed by the CWS cmcfixes72 (rev
> 5a3095bbb41b), by disabling the build of the unneeded utilities via the
> following addition to the redland/rasqal/rasqal-0.9.16.patch.ooo_build:
>
> +--- misc/rasqal-0.9.16/Makefile.am 2010-02-12 08:43:21.000000000 +0000
> ++++ misc/build/rasqal-0.9.16/Makefile.am   2010-02-12 08:43:56.000000000
> +0000
> +@@ -22,7 +22,7 @@
> +
> + noinst_SCRIPTS = rasqal-src-config
> +
> +-SUBDIRS=src utils tests docs data win32
> ++SUBDIRS=src tests docs data win32
> +
> + pkgconfigdir = $(libdir)/pkgconfig
> + pkgconfig_DATA = rasqal.pc
> +--- misc/rasqal-0.9.16/Makefile.in 2010-02-12 08:43:19.000000000 +0000
> ++++ misc/build/rasqal-0.9.16/Makefile.in   2010-02-12 08:44:03.000000000
> +0000
> +@@ -242,7 +242,7 @@
> + with_raptor = @with_raptor@
> + with_redland = @with_redland@
> + noinst_SCRIPTS = rasqal-src-config
> +-SUBDIRS = src utils tests docs data win32
> ++SUBDIRS = src tests docs data win32
> + pkgconfigdir = $(libdir)/pkgconfig
> + pkgconfig_DATA = rasqal.pc
> + EXTRA_DIST = ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 \
>
>
> you should try again with a milestone that integrates this change
> (DEV300m75 or newer).
>
> --
> "If your language's mechanisms for abstracting away accidental
>  complexity are so laborious that you cannot remove the useless, the
>  hard to read, and the tedious from your programs without introducing
>  code that is even more useless, harder to read, and more tedious to
>  your framework, then change languages." -- Reginald Braithwaite
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.