Hi Gabriele,

On Fri, 2013-07-05 at 08:14 +0200, Gabriele Bulfon wrote:
> Hi Michael, would be a great idea the tinderbox setup.
> I will send you the link of the XStream Desktop iso as soon as we have
> it out.

        Wonderful.

> BTW, can you help me with this? I really don't know what problem is
> this....must be something
> about gnu ld, but I had more experience with Sun ld.

...

> >[build LNK] Executable/unopkg.bin
> >/usr/gnu/bin/ld: 
> >/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice->4.1.0.1/workdir/unxsogi.pro/LinkTarget/Executable/unopkg.bin:
> > hidden symbol `main' in 
> >>/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice->4.1.0.1/workdir/unxsogi.pro/CObject/desktop/source/pkgchk/unopkg/unopkg_main.o
> > is referenced by >DSO
> >/usr/gnu/bin/ld: final link failed: Bad value
> >collect2: ld returned 1 exit status

        Looks like a mis-interaction with some visibility markup - though
clearly getting more output would be good:

        cd desktop
        make

        gives a more verbose make. Try something like the attached; if that
works we should get it into master and -4-1 :-)

        HTH,

                Michael.

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot
diff --git a/include/sal/main.h b/include/sal/main.h
index 634b57c..d5c227c 100644
--- a/include/sal/main.h
+++ b/include/sal/main.h
@@ -43,7 +43,7 @@ SAL_DLLPUBLIC void SAL_CALL sal_detail_deinitialize();
 #else
 
 #define SAL_MAIN_WITH_ARGS_IMPL \
-int SAL_CALL main(int argc, char ** argv) \
+int SAL_DLLPUBLIC SAL_CALL main(int argc, char ** argv) \
 { \
     int ret; \
     sal_detail_initialize(argc, argv);   \
@@ -53,7 +53,7 @@ int SAL_CALL main(int argc, char ** argv) \
 }
 
 #define SAL_MAIN_IMPL \
-int SAL_CALL main(int argc, char ** argv) \
+int SAL_DLLPUBLIC SAL_CALL main(int argc, char ** argv) \
 { \
     int ret; \
     sal_detail_initialize(argc, argv); \
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to