Subject: Re: Building openoffice2 on amd64
To: None <darcy@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 12/24/2007 11:08:46
Hello,

At Sun, 23 Dec 2007 02:01:33 -0500,
D'Arcy J.M. Cain wrote:
> I'm not sure if it is amd64 specific so I post here.  I just switched
> over to amd64 because I was under the impression that OpenOffice now
> built there.  It tries to but fails with thie messages at the end of
> this email.  Is it possible that this is related to the flurry of
> commits to x11-links lately?
> 
> Making: ../unxbsdx3.pro/lib/libvclplug_gen680bx.so
> c++ -z combreloc -z defs -Wl,-rpath,'$ORIGIN' -L/usr/obj/misc/openoffice2/work.x86_64/OOG680_m9/solver/680/unxbsdx3.pro/lib -shared -L../unxbsdx3.pro/lib -L/usr/pkg/lib/firefox ../unxbsdx3.pro/slo/vclplug_gen_dflt_version.o -o ../unxbsdx3.pro/lib/libvclplug_gen680bx.so ../unxbsdx3.pro/slo/FWS.o ../unxbsdx3.pro/slo/salframe.o ../unxbsdx3.pro/slo/salobj.o ../unxbsdx3.pro/slo/salmenu.o ../unxbsdx3.pro/slo/salgdi2.o ../unxbsdx3.pro/slo/salbmp.o ../unxbsdx3.pro/slo/salgdi.o ../unxbsdx3.pro/slo/salvd.o ../unxbsdx3.pro/slo/salogl.o ../unxbsdx3.pro/slo/dtint.o ../unxbsdx3.pro/slo/salcvt.o ../unxbsdx3.pro/slo/xfont.o ../unxbsdx3.pro/slo/xlfd_attr.o ../unxbsdx3.pro/slo/xlfd_extd.o ../unxbsdx3.pro/slo/xlfd_smpl.o ../unxbsdx3.pro/slo/salgdi3.o ../unxbsdx3.pro/slo/gcach_xpeer.o ../unxbsdx3.pro/slo/xrender_peer.o ../unxbsdx3.pro/slo/pspgraphics.o ../unxbsdx3.pro/slo/salprnpsp.o ../unxbsdx3.pro/slo/i18n_cb.o ../unxbsdx3.pro/slo/i18n_ic.o ../unxbsdx3.pro/slo/i18n_im.o ../unxbsdx3.pro/slo/i
 18
>  n_xkb.o ../unxbsdx3.pro/slo/i18n_wrp.o ../unxbsdx3.pro/slo/i18n_status.o ../unxbsdx3.pro/slo/i18n_keysym.o ../unxbsdx3.pro/slo/saldata.o ../unxbsdx3.pro/slo/saltimer.o ../unxbsdx3.pro/slo/saldisp.o ../unxbsdx3.pro/slo/salinst.o ../unxbsdx3.pro/slo/salsys.o ../unxbsdx3.pro/slo/soicon.o ../unxbsdx3.pro/slo/sm.o ../unxbsdx3.pro/slo/keysymnames.o ../unxbsdx3.pro/slo/wmadaptor.o ../unxbsdx3.pro/slo/salsound2.o ../unxbsdx3.pro/slo/osssound.o ../unxbsdx3.pro/slo/devaudiosound.o ../unxbsdx3.pro/slo/audioconvert.o ../unxbsdx3.pro/slo/rptpsound.o ../unxbsdx3.pro/slo/nassound.o -lvcl680bx -lpsp680bx -lsot680bx -lutl680bx -ltl680bx -lcomphelp4gcc3 -lucbhelper4gcc3 -luno_cppuhelpergcc3 -luno_cppu -lvos3gcc3 -luno_sal -Wl,-Bstatic -lXinerama -Wl,-Bdynamic -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lXext -lSM -lICE -lX11 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lX11 -lXext -lpthread -lm -lc -lgcc_s -lstdc++ -Wl,-Bdynamic -lstlport_gcc -lgcc_s -lstdc++
> /usr/bin/ld: /usr/obj/misc/openoffice2/work.x86_64/.x11-buildlink/lib/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/obj/misc/openoffice2/work.x86_64/.x11-buildlink/lib/libXinerama.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> dmake:  Error code 1, while making '../unxbsdx3.pro/lib/libvclplug_gen680bx.so'
> ---* tg_merge.mk *---
> 
> ERROR: Error 65280 occurred while making /usr/obj/misc/openoffice2/work.x86_64/OOG680_m9/vcl/util
> dmake:  Error code 1, while making 'build_instsetoo_native'
> ---*  *---
> *** Error code 255

Please update your pkgsrc tree and try again.

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp