I'll fix this. It seems 'CLIPPER' compatibility C keyword isn't creating HB_FUNC() compatible names in Harbour. Brgds, Viktor
On Thu, Jun 18, 2009 at 3:52 AM, Bruno Luciani <[email protected]>wrote: > I am trying to test superlib > > I have created it as comented in harbour source > > But when I try to compile a sample , the error below appears, may be I > need to link another library ? > > thanks > > Bruno > > /////////////////////////////////////////////error code > //////////////////////////////////////////////////////// > > C:\Downloads\harbour\supfree\SAMPLES>hbmk2 s3menu -lsuperlib -lhbpcre > hbmk: Processing configuration: c:\harbour\bin\hbmk.cfg > Harbour 2.0.0beta1 (Rev. 11402) > Copyright (c) 1999-2009, http://www.harbour-project.org/ > Compiling 's3menu.prg'... > Lines 591, Functions/Procedures 3 > Generating C source output to 's3menu.c'... Done. > c:/harbour/lib/libsuperlib.a(s_bungee.o):s_bungee.c:(.data+0x438): > undefined reference to `HB_FUN_TA > KEOUT' > c:/harbour/lib/libsuperlib.a(s_screen.o):s_screen.c:(.data+0x58): undefined > reference to `HB_FUN_GET > SCROW' > c:/harbour/lib/libsuperlib.a(s_screen.o):s_screen.c:(.data+0x78): undefined > reference to `HB_FUN_GET > SCCOL' > c:/harbour/lib/libsuperlib.a(s_screen.o):s_screen.c:(.data+0x188): > undefined reference to `HB_FUN_SS > PRINKLE' > c:/harbour/lib/libsuperlib.a(s_amsg.o):s_amsg.c:(.data+0x148): undefined > reference to `HB_FUN_TAKEOU > T' > c:/harbour/lib/libsuperlib.a(s_rmenu2.o):s_rmenu2.c:(.data+0x38): undefined > reference to `HB_FUN_TAK > EOUT' > c:/harbour/lib/libsuperlib.a(s_mchoi.o):s_mchoi.c:(.data+0x1e8): undefined > reference to `HB_FUN_TAKE > OUT' > c:/harbour/lib/libsuperlib.a(s_query.o):s_query.c:(.data+0x618): undefined > reference to `HB_FUN_TAKE > OUT' > c:/harbour/lib/libsuperlib.a(s_smal.o):s_smal.c:(.data+0x458): undefined > reference to `HB_FUN_TAKEOU > T' > c:/harbour/lib/libsuperlib.a(s_build.o):s_build.c:(.data+0x148): more > undefined references to `HB_FU > N_TAKEOUT' follow > collect2: ld returned 1 exit status > hbmk: Error: Running linker. 1 > gcc.exe s3menu.o hbmk_14drtl.o -mconsole -Wl,--start-group -lsuperlib > -lhbpcre -lhbcpage -lhblang > -lhbcommon -lhbcplr -lhbdebug -lhbvm -lhbrdd -lhbusrrdd -lhbhsx -lhbsix > -lrddntx -lrddcdx -lrddfpt > -lhbuddall -lrddnsx -lhbrtl -lhbpp -lhbmacro -lhbextern -lgtcgi -lgtpca > -lgtstd -lgtwin -lgtwvt -lgt > gui -lhbpcre -lhbzlib -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 > -lwinspool -lcomctl32 -lcomdlg > 32 -lshell32 -lole32 -loleaut32 -luuid -lmpr -lwinmm -lmapi32 -limm32 > -lmsimg32 -Wl,--end-group -os3 > menu.exe -Lc:/harbour/lib > > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > >
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
