To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80092
                 Issue #|80092
                 Summary|to-be-SRC680_m223: linking of libvclplug_gtk680lx.so h
                        |as been changed
               Component|porting
                 Version|680m222
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|code
             Assigned to|pl
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Fri Jul 27 03:33:20 +0000 
2007 -------
Hi,

in to-be-SRC680_m223, the linking of libvclplug_gtk680lx.so fails:

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: 
/usr/X11R6/lib64/
libXinerama.a(Xinerama.o): relocation R_X86_64_32 against `a local symbol' can 
not be used when 
making a shared object; recompile with -fPIC
/usr/X11R6/lib64/libXinerama.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

The difference between m222 and m223 is that the cmdline contains this:

-Wl,-Bstatic -lXinerama -Wl,-Bdynamic -lsndfile -lportaudio -laudio -lXau 
-lXext -lSM -lICE -lX11 -ldl

The complete cmdline thus is now:

ccache /usr//bin/g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared 
-L../unxlngx6.pro/
lib -L../lib -L/data/oo/BuildDir/ooo_SRC680_m223_src/solenv/unxlngx6/lib 
-L/data/oo/BuildDir/
ooo_SRC680_m223_src/solver/680/unxlngx6.pro/lib 
-L/data/oo/BuildDir/ooo_SRC680_m223_src/
solenv/unxlngx6/lib -L/opt/java/lib64 -L/opt/java/jre/lib/amd64 
-L/opt/java/jre/lib/amd64/server -
L/opt/java/jre/lib/amd64/native_threads -L/usr/X11R6/lib64 ../unxlngx6.pro/slo/
vclplug_gtk_dflt_version.o -o ../unxlngx6.pro/lib/libvclplug_gtk680lx.so 
../unxlngx6.pro/slo/
gtkdata.o ../unxlngx6.pro/slo/gtkinst.o ../unxlngx6.pro/slo/gtksys.o 
../unxlngx6.pro/slo/
atkaction.o ../unxlngx6.pro/slo/atkbridge.o ../unxlngx6.pro/slo/atkcomponent.o 
../unxlngx6.pro/slo/
atkeditabletext.o ../unxlngx6.pro/slo/atkfactory.o 
../unxlngx6.pro/slo/atkhypertext.o ../
unxlngx6.pro/slo/atkimage.o ../unxlngx6.pro/slo/atklistener.o 
../unxlngx6.pro/slo/atkselection.o ../
unxlngx6.pro/slo/atktable.o ../unxlngx6.pro/slo/atktext.o 
../unxlngx6.pro/slo/atktextattributes.o ../
unxlngx6.pro/slo/atkutil.o ../unxlngx6.pro/slo/atkvalue.o 
../unxlngx6.pro/slo/atkwindow.o ../
unxlngx6.pro/slo/atkwrapper.o ../unxlngx6.pro/slo/salnativewidgets-gtk.o 
../unxlngx6.pro/slo/
gtkframe.o ../unxlngx6.pro/slo/gtkobject.o -pthread -L/usr/X11R6/lib64 
-L/opt/gnome/lib64 -lgtk-
x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 
-lcairo -
lgobject-2.0 -lgmodule-2.0 -ldl -lfreetype -lfontconfig -lXrender -lX11 -lXext 
-lpng12 -lz -lglitz -lm 
-lgthread-2.0 -lglib-2.0 -lvclplug_gen680lx -lvcl680lx -lpsp680lx -lsot680lx 
-lutl680lx -ltl680lx -
lcomphelp4gcc3 -lucbhelper4gcc3 -luno_cppuhelpergcc3 -luno_cppu -lvos3gcc3 
-luno_sal -Wl,-
Bstatic -lXinerama -Wl,-Bdynamic -lsndfile -lportaudio -laudio -lXau -lXext 
-lSM -lICE -lX11 -ldl -lX11 
-lXext -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc

Thus it contains -lX11 three times now.

It was also not linked to Xinerama before...

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to