Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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.meeks@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); \

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.