看板 FB_stable 關於我們 聯絡資訊
Am 16.06.2014 23:56, schrieb Dimitry Andric: > On 16 Jun 2014, at 23:07, Thomas Krause > <freebsd-stable@chef-ingenieur.de> wrote: >> >> I'm using Adaptec controllers for my servers. >> The arcconf utility is not working under FreeBSD10 (because of clang): >> Shared object "libstdc++.so.7" not found, required by "arcconf" > > This has nothing to do with clang, it's because libstdc++ is not > installed by default. > > >> Is there an easy way to get it working? >> I don't want to install gcc (about 470MB disk space) only for this >> tool. > > make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj all install > make -C /usr/src/gnu/lib/libsupc++ -D WITH_GNUCXX obj all install > > You can also set WITH_GNUCXX in /etc/src.conf, for your next > buildworld. > > -Dimitry > > P.S.: I think Baptiste is working on creating a separate port for just > installing the libstdc++ runtime files from the gcc port. But this > will > get you up and running now. doesn't work for my ;-( # make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj all install ln -sf /usr/src/gnu/lib/libstdc++/../../../contrib/gcc/unwind-generic.h unwind.h c++ -O2 -pipe -march=core2 -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I. -frandom-seed=RepeatabilityConsideredGood -Qunused-arguments -fstack-protector -Wno-c++11-extensions -fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated -stdlib=libstdc++ -c /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/bitmap_allocator.cc -o bitmap_allocator.o In file included from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30: /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:37:10: fatal error: 'cstddef' file not found #include <cstddef> // For std::size_t, and ptrdiff_t. ^ 1 error generated. *** Error code 1 Stop. make: stopped in /usr/src/gnu/lib/libstdc++ # uname -srp FreeBSD 10.0-RELEASE-p3 amd64 /Thomas. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"