From: Guy R. <guy...@te...> - 2006-06-27 14:23:10
|
Thank you Phil, Now, i compile harbour with make_tgz.sh instead of make_gnu.sh and this error is gone. xbgtk is now running fine ... Best regards, Guy Phil Krylov wrote: > On 27/06/06, Guy Roussin <guy...@te...> wrote: >=20 >> Now, when i "make install" as root, i get this error : >> >> ---------------------------------------- >> Total memory allocated: 140392 bytes (4169 blocks) >> WARNING! Memory allocated but not released: 4 bytes (1 blocks) >> harbour.c:692: HB_TR_ERROR Block 1 0x80be708 (size 4) "\00\00\00\00" >> source=3D'appwindow.c' object=3D'appwindow.o' libtool=3Dno \ >> depfile=3D'.deps/appwindow.Po' tmpdepfile=3D'.deps/appwindow.= TPo' \ >> depmode=3Dgcc3 /bin/sh ../../config/depcomp \ >> gcc -DPACKAGE_NAME=3D\"xbgtk\" -DPACKAGE_TARNAME=3D\"xbgtk\" >> -DPACKAGE_VERSION=3D\"0.4\" -DPACKAGE_STRING=3D\"xbgtk\ 0.4\"=20 >> -DPACKAGE_BUGREPORT=3D\"\" >> -DPACKAGE=3D\"xbgtk\" -DVERSION=3D\"0.4\" -DSTDC_HEADERS=3D1=20 >> -DHAVE_SYS_TYPES_H=3D1 >> -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_M= EMORY_H=3D1 >> -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1=20 >> -DHAVE_UNISTD_H=3D1 >> -DHAVE_DLFCN_H=3D1 -I. -I. -I../../include=20 >> -I/usr/local/include/harbour -g -O2 -c `test >> -f 'appwindow.c' || echo './'`appwindow.c >> appwindow.prg:188: error: static declaration of 'HB_FUN_NUMAND'=20 >> follows non-static declaration >> appwindow.c:31: error: previous declaration of 'HB_FUN_NUMAND' was her= e >> make[2]: *** [appwindow.o] Erreur 1 >> make[2]: quittant le r=E9pertoire =AB=20 >> /usr/local/src/xbgtk/examples/xbgtk_demo =BB >> make[1]: *** [install-recursive] Erreur 1 >> make[1]: quittant le r=E9pertoire =AB /usr/local/src/xbgtk/examples =BB >> make: *** [install-recursive] Erreur 1 >=20 > Sorry, I can't check it currently. But you may safely ignore this > error, because it occurs with examples, not with the library itself. > However, if you still want to build this example program using > Harbour, I guess you can change HB_FUNC_STATIC(NUMAND) to > HB_FUNC(NUMAND) in appwindow.prg and try again. >=20 > -- Ph. |