Opened 2 months ago

#70668 new defect

xplc fails to link: Undefined symbols: "_uuid_variant", "_uuid_time", "_uuid_type"

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: xplc

Description

ccache /usr/bin/g++-4.2 -pipe -Os -arch ppc -Woverloaded-virtual -fno-rtti -fno-exceptions -pipe -Os -arch ppc -O2 -DNDEBUG -Wall -fpic -DUNSTABLE -pipe -Iinclude   -c -o xplc/statichandler.o xplc/statichandler.cpp
cp dist/xplc-uninstalled.pc xplc-uninstalled.pc
ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -O2 -DNDEBUG -Wall -fpic -DUNSTABLE  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -lc  uuid/bin/uuidgen.o  -luuid -o uuid/bin/uuidgen
ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -O2 -DNDEBUG -Wall -fpic -DUNSTABLE  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -lc  uuid/bin/tst_uuid.o  -luuid -o uuid/bin/tst_uuid
ar rc libxplc-cxx.a xplc-cxx/factory.o xplc-cxx/getiface.o xplc-cxx/strtouuid.o xplc-cxx/uuidtostr.o xplc-cxx/xplc.o
ln -s uuidgen uuid/bin/uuidcdef
Undefined symbols:
  "_uuid_variant", referenced from:
      _main in tst_uuid.o
      _main in tst_uuid.o
      _main in tst_uuid.o
  "_uuid_time", referenced from:
      _main in tst_uuid.o
  "_uuid_type", referenced from:
      _main in tst_uuid.o
      _main in tst_uuid.o
      _main in tst_uuid.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [uuid/bin/tst_uuid] Error 1
make: *** Waiting for unfinished jobs....

Change History (0)

Note: See TracTickets for help on using tickets.