hi, ! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org ! MAKE: make 3.81 /bin/sh ! HB_BUILD_MODE: cpp ! HB_HOST_PLAT: beos (x86) HB_SHELL: sh ! HB_PLATFORM: beos (x86) (autodetected) ! HB_COMPILER: gcc (autodetected: /boot/develop/tools/gnupro/bin/) ! Component: 'zlib' found in /boot/develop/headers/3rdparty ! Component: 'pcre' found in /boot/home/hb/harbour-build/external/pcre (local) ! Component: 'openssl' found in /boot/common/include ! Component: 'gpm' not supported on beos platform ! Component: 'slang' not found ! Component: 'curses' found in /boot/develop/headers/3rdparty ! Component: 'x11' not found ! Component: 'wattcp/watt-32' not supported on beos platform ! HB_INSTALL_PREFIX automatically set to: /boot/common ! REVISION: 12513 [...] ar rcs ../../../../../lib/beos/gcc/libsqlite3.a sqlite3.o || ( rm -f ../../../../../lib/beos/gcc/libsqlite3.a && false ) ! 'hbzlib' library skipped (unused) g++ -I. -I../../../../../include -Wall -W -O3 -oexpropt1.o -c ../../../expropt1.c In file included from /boot/home/hb/harbour-build/include/hbvmpub.h:56, from /boot/home/hb/harbour-build/include/hbapi.h:61, from /boot/home/hb/harbour-build/include/hbcompdf.h:57, from /boot/home/hb/harbour-build/include/hbmacro.h:62, from /boot/home/hb/harbour-build/source/common/expropt1.c:58: /boot/home/hb/harbour-build/include/hbdefs.h:1624: multiple storage classes in declaration of `PHB_FUNC' /boot/home/hb/harbour-build/include/hbdefs.h:1625: multiple storage classes in declaration of `HB_FUNC_PTR' make[3]: *** [expropt1.o] Error 1 make[2]: *** [descend] Error 2 make[1]: *** [common] Error 2 make: *** [source] Error 2
this only with g++2.95.3, building with g++4.3.3 is ok, but using it fails: hbmk2: Processing configuration: /boot/common/bin/hbmk.cfg Harbour 2.0.0beta3 (Rev. 12513) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 't.prg'... Lines 5, Functions/Procedures 1 Generating C source output to 't.c'... Done. /boot/common/lib/harbour/libhbvm.a(hvmall.o):(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status hbmk2: Error: Running linker. 1 gcc t.o hbmk_zy0a15.o -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgttrm -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbrtl -lhbvm -lhbmacro -lhbcplr -lhbpp -lhbcommon -lroot -lsocket -lz -lhbpcre -ot -L/boot/common/lib/harbour -L/system/lib this even with HB_BUILD_MODE=cpp given to hbmk2, if that matters. if i explicitly specify HB_USER_LDFLAGS=-lstdc++, then it works (i reckon gcc does this automatically when called as g++, and needs to be given if called as gcc). -- [-] mkdir /nonexistent _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour