Date: Fri, 30 Sep 2011 12:28:24 +0200 From: Brent Clark <brentgclarklist@gmail.com> To: ports@freebsd.org Subject: undefined reference to ... Message-ID: <4E8599C8.8020306@gmail.com>
next in thread | raw e-mail | index | archive | help
Hiya Im trying to upgrade PackageKit, but im getting ... CC libpackagekit_glib2_la-pk-media-change-required.lo CC libpackagekit_glib2_la-pk-message.lo CC libpackagekit_glib2_la-pk-package.lo CC libpackagekit_glib2_la-pk-package-id.lo CC libpackagekit_glib2_la-pk-package-ids.lo CC libpackagekit_glib2_la-pk-package-sack.lo CC libpackagekit_glib2_la-pk-package-sack-sync.lo CC libpackagekit_glib2_la-pk-progress.lo CC libpackagekit_glib2_la-pk-repo-detail.lo CC libpackagekit_glib2_la-pk-repo-signature-required.lo CC libpackagekit_glib2_la-pk-require-restart.lo CC libpackagekit_glib2_la-pk-results.lo CC libpackagekit_glib2_la-pk-service-pack.lo CC libpackagekit_glib2_la-pk-source.lo CC libpackagekit_glib2_la-pk-task.lo CC libpackagekit_glib2_la-pk-transaction-past.lo CC libpackagekit_glib2_la-pk-transaction-list.lo CC libpackagekit_glib2_la-pk-update-detail.lo CCLD libpackagekit-glib2.la CC pk_socket_example-pk-socket-example.o CCLD pk-socket-example GISCAN PackageKitGlib-1.0.gir /usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' /usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';' /usr/lib/libarchive.so: undefined reference to `lzma_stream_encoder@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_alone_decoder@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_memusage@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_stream_decoder@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_code@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_end@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_lzma_preset@XZ_5.0' /usr/lib/libarchive.so: undefined reference to `lzma_alone_encoder@XZ_5.0' linking of temporary binary failed: Command '['/bin/sh', '../../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-glib2/tmp-introspect40CBf9/PackageKitGlib-1.0', '-export-dynamic', '-O2', '-pipe', '-fno-strict-aliasing', '-L.', 'libpackagekit-glib2.la', '-pthread', '-L/usr/local/lib', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lglib-2.0', '/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-glib2/tmp-introspect40CBf9/PackageKitGlib-1.0.o']' returned non-zero exit status 1 gmake[4]: *** [PackageKitGlib-1.0.gir] Error 1 gmake[4]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-glib2' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-glib2' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/ports-mgmt/packagekit. *** Error code 1 Stop in /usr/ports/ports-mgmt/packagekit. ===>>> make failed for ports-mgmt/packagekit ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> ports-mgmt/packagekit I looked at /usr/ports/UPDATING And I tried portupgrade -o archivers/xz lzmautils\* and Im stilling getting this error. Please could someone assist. Regards Brent Clark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E8599C8.8020306>