pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building openoffice2 on amd64



(Moved from current-users to pkgsrc-users)

On Tue, 25 Dec 2007, Kouichirou Hiratsuka wrote:

        /usr/obj/tooldir/x86_64/amd64/bin/nbmake-amd64 CFLAGS+="-fPIC" \
                cleandir dependall install

It completed successfully, as far as I can tell.

With pkgsrc's gcc-3.4.6, -fPIC and -DPIC are added to CFLAGS when
compiling libsupc++.a.  These flags seem to be missing from NetBSD.

OK, I added both -fPIC and -DPIC and remade libsupc++ again...

Then I tried to update libXinerama (since you said you'd fixed it) and
got the following:

I'm sorry:
 "I've fixed Xinerama." -> "I've fixed the same error with Xinerama."
With X11_TYPE=native, x11/libXinerama cannot be compiled and you don't
need to install it.

Ah.  That wasn't clear.

So now I go back to building openoffice2 using a cleanly installed copy of gcc-3.4.6 and I get lots link failures. Here's the last few lines from the build...


`.gnu.linkonce.t._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE' referenced in section `.rodata' of ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section `.gnu.linkonce.t._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE' of ../lib/obj/GCC/ReleaseD/locale_catalog.o `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE' referenced in section `.rodata' of ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE' of ../lib/obj/GCC/ReleaseD/locale_catalog.o
collect2: ld returned 1 exit status
make: *** [../lib/libstlport_gcc.so.4.5] Error 1
dmake: Error code 2, while making 'unxbsdx3.pro/misc/build/so_built_so_stlport'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /usr/pkgsrc/misc/openoffice2/work.x86_64/OOG680_m9/stlport
dmake:  Error code 1, while making 'build_instsetoo_native'
---*  *---
*** Error code 255



----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index