Building hans-0.4.1_1.txz (origin /buildshare/ports/355755/net/hanstunnel) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/hans-0.4.1.tar.gz x packages/ x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> hans-0.4.1_1 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of hans-0.4.1_1 Make install ===> License GPLv3 accepted by the user ===> hans-0.4.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by hans-0.4.1_1 for building ===> Extracting for hans-0.4.1_1 => SHA256 Checksum OK for hans-0.4.1.tar.gz. ===> Patching for hans-0.4.1_1 ===> Applying FreeBSD patches for hans-0.4.1_1 ===> Configuring for hans-0.4.1_1 ===> Building for hans-0.4.1_1 clang++ -c tun.cpp -O2 -pipe -fno-strict-aliasing clang++ -c sha1.cpp -O2 -pipe -fno-strict-aliasing clang++ -c main.cpp -O2 -pipe -fno-strict-aliasing clang++ -c client.cpp -O2 -pipe -fno-strict-aliasing clang++ -c server.cpp -O2 -pipe -fno-strict-aliasing clang++ -c auth.cpp -O2 -pipe -fno-strict-aliasing clang++ -c worker.cpp -O2 -pipe -fno-strict-aliasing clang++ -c time.cpp -O2 -pipe -fno-strict-aliasing clang -c tun_dev_freebsd.c -o tun_dev.o -O2 -pipe -fno-strict-aliasing clang++ -c echo.cpp -O2 -pipe -fno-strict-aliasing clang++ -c exception.cpp -O2 -pipe -fno-strict-aliasing clang++ -c utility.cpp -O2 -pipe -fno-strict-aliasing clang++ -o hans tun.o sha1.o main.o client.o server.o auth.o worker.o time.o tun_dev.o echo.o exception.o utility.o /usr/bin/ld: cannot find -lc++ clang++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[1]: stopped in /obj/buildshare/ports/355755/net/hanstunnel/work/hans-0.4.1 *** Error code 1 Stop. make: stopped in /buildshare/ports/355755/net/hanstunnel