done c:\harbour\contrib\hbhpdf\tests>hbmk2 harupdf.prg hbhpdf.lib hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg hbmk: Processing: hbhpdf.hbp Harbour 1.1.0dev (Rev. 10734) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'harupdf.prg'... Lines 2245, Functions/Procedures 18 Generating C source output to 'harupdf.c'... Done. c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x13 ): undefined reference to `png_get_io_ptr' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x8d ): undefined reference to `png_get_error_ptr' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0xf0 ): undefined reference to `png_get_PLTE' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x26 0): undefined reference to `png_create_read_struct' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x27 4): undefined reference to `png_create_info_struct' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x29 8): undefined reference to `png_set_sig_bytes' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x2b 8): undefined reference to `png_set_read_fn' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x2c f): undefined reference to `png_read_info' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x2f d): undefined reference to `png_read_update_info' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x3e a): undefined reference to `png_destroy_read_struct' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x43 6): undefined reference to `png_get_valid' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x47 1): undefined reference to `png_get_tRNS' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x5f e): undefined reference to `png_get_rowbytes' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x66 8): undefined reference to `png_set_strip_16' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x7c f): undefined reference to `png_get_color_type' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x81 b): undefined reference to `png_get_interlace_type' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x83 a): undefined reference to `png_get_rowbytes' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x88 1): undefined reference to `png_read_rows' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x92 5): undefined reference to `png_destroy_read_struct' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x95 3): undefined reference to `png_get_rowbytes' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0xa2 7): undefined reference to `png_read_image' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0xab 1): undefined reference to `png_get_rowbytes' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0xaf 0): undefined reference to `png_read_image' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0xd5 2): undefined reference to `png_read_image' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x10 56): undefined reference to `png_sig_cmp' c:/harbour/mingw/lib/liblibhpdf.a(hpdf_image_png.o):hpdf_image_png.c:(.text+0x12 28): undefined reference to `png_sig_cmp' collect2: ld returned 1 exit status hbmk: Error: Running C compiler. 1: gcc.exe harupdf.c C:\Users\MBELGR~1\AppData\Local\Temp\hbmk_p3ene1.c -O3 -oh arupdf.exe -Ic:/harbour/mingw/include -Lc:/harbour/mingw/lib -mconsole -Wl,--sta rt-group -lhbcpage -lhblang -lhbcommon -lhbcplr -lhbdebug -lhbvm -lhbrdd -lhbusr rdd -lhbuddall -lhbhsx -lhbsix -lrddntx -lrddnsx -lrddcdx -lrddfpt -lhbrtl -lhbp p -lhbmacro -lhbextern -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbpcre -lhbzlib -lhbhpdf -llibhpdf -lhbct -lhbhpdf -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -lole32 -loleaut32 -luuid -lmpr -lwi nmm -lmapi32 -limm32 -lmsimg32 -Wl,--end-group
2009/3/30 Viktor Szakáts <harbour...@syenar.hu>: > Hi Massimo, please try again with latest rev. > -- > Viktor > > On Sun, Mar 29, 2009 at 12:43 PM, Massimo Belgrano <mbelgr...@deltain.it> > wrote: >> >> I have tried compiling tests >> >> c:\harbour\contrib\hbhpdf\tests>hbmk2 harupdf.prg hbhpdf.lib >> hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg >> hbmk: Processing: hbhpdf.hbp >> Harbour 1.1.0dev (Rev. 10721) >> Copyright (c) 1999-2009, http://www.harbour-project.org/ >> Compiling 'harupdf.prg'... >> Lines 2245, Functions/Procedures 18 >> Generating C source output to 'harupdf.c'... Done. >> C:\devl\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: >> cann >> t find -lhpdf >> collect2: ld returned 1 exit status >> hbmk: Error: Running C compiler. 1: >> >> >> 2009/3/29 <vszak...@users.sourceforge.net>: >> > Revision: 10721 >> > >> > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10721&view=rev >> > Author: vszakats >> > Date: 2009-03-29 09:09:24 +0000 (Sun, 29 Mar 2009) >> > >> > Log Message: >> > ----------- >> > 2009-03-29 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu) >> > * INSTALL >> > * external/Makefile >> > + external/libhpdf/* >> > + external/libpng/* >> > + Added libharu and libpng to Harbour repository. >> > Now it's possible to use libhpdf as static lib on all >> > platforms. This is useful because this lib isn't yet part >> > of Linux distros. >> > libpng is only built for win/dos/os2 platforms. >> > It's possible to override libpng location by using >> > HB_INC_LIBPNG envvar. >> > >> > * contrib/hbhpdf/Makefile >> > + Look for libharu headers in /external dir. >> > >> > * external/sqlite3/Makefile >> > - Disabled for bcc. Latest sqlite3 version breaks with this compiler: >> > --- >> > Error E2293 ../../sqlite3.c 29156: ) expected in function >> > winCurrentTime >> > Warning W8013 ../../sqlite3.c 29157: Possible use of 'timeW' before >> > definition in function winCurrentTime >> > Error E2379 ../../sqlite3.c 29157: Statement missing ; in function >> > winCurrentTime >> > Error E2379 ../../sqlite3.c 29158: Statement missing ; in function >> > winCurrentTime >> > Error E2379 ../../sqlite3.c 29160: Statement missing ; in function >> > winCurrentTime >> > Error E2293 ../../sqlite3.c 29161: ) expected in function >> > winCurrentTime >> > Error E2379 ../../sqlite3.c 29162: Statement missing ; in function >> > winCurrentTime >> > Error E2293 ../../sqlite3.c 29163: ) expected in function >> > winCurrentTime >> > Warning W8057 ../../sqlite3.c 29171: Parameter 'prNow' is never >> > used in function winCurrentTime >> > *** 7 errors in Compile *** >> > --- >> > bcc users can report this problem here: >> > http://www.sqlite.org/cvstrac/tktnew >> > >> > + tests/bnch_win.bat >> > - tests/bnchmark >> > * Moved bnch_win.bat to tests. >> > >> > Modified Paths: >> > -------------- >> > trunk/harbour/ChangeLog >> > trunk/harbour/INSTALL >> > trunk/harbour/contrib/hbhpdf/Makefile >> > trunk/harbour/external/Makefile >> > trunk/harbour/external/sqlite3/Makefile >> > >> > Added Paths: >> > ----------- >> > trunk/harbour/external/libhpdf/ >> > trunk/harbour/external/libhpdf/Makefile >> > trunk/harbour/external/libhpdf/README >> > trunk/harbour/external/libhpdf/hpdf.h >> > trunk/harbour/external/libhpdf/hpdf_annotation.c >> > trunk/harbour/external/libhpdf/hpdf_annotation.h >> > trunk/harbour/external/libhpdf/hpdf_array.c >> > trunk/harbour/external/libhpdf/hpdf_binary.c >> > trunk/harbour/external/libhpdf/hpdf_boolean.c >> > trunk/harbour/external/libhpdf/hpdf_catalog.c >> > trunk/harbour/external/libhpdf/hpdf_catalog.h >> > trunk/harbour/external/libhpdf/hpdf_conf.h >> > trunk/harbour/external/libhpdf/hpdf_config.h >> > trunk/harbour/external/libhpdf/hpdf_consts.h >> > trunk/harbour/external/libhpdf/hpdf_destination.c >> > trunk/harbour/external/libhpdf/hpdf_destination.h >> > trunk/harbour/external/libhpdf/hpdf_dict.c >> > trunk/harbour/external/libhpdf/hpdf_doc.c >> > trunk/harbour/external/libhpdf/hpdf_doc.h >> > trunk/harbour/external/libhpdf/hpdf_doc_png.c >> > trunk/harbour/external/libhpdf/hpdf_encoder.c >> > trunk/harbour/external/libhpdf/hpdf_encoder.h >> > trunk/harbour/external/libhpdf/hpdf_encoder_cns.c >> > trunk/harbour/external/libhpdf/hpdf_encoder_cnt.c >> > trunk/harbour/external/libhpdf/hpdf_encoder_jp.c >> > trunk/harbour/external/libhpdf/hpdf_encoder_kr.c >> > trunk/harbour/external/libhpdf/hpdf_encrypt.c >> > trunk/harbour/external/libhpdf/hpdf_encrypt.h >> > trunk/harbour/external/libhpdf/hpdf_encryptdict.c >> > trunk/harbour/external/libhpdf/hpdf_encryptdict.h >> > trunk/harbour/external/libhpdf/hpdf_error.c >> > trunk/harbour/external/libhpdf/hpdf_error.h >> > trunk/harbour/external/libhpdf/hpdf_ext_gstate.c >> > trunk/harbour/external/libhpdf/hpdf_ext_gstate.h >> > trunk/harbour/external/libhpdf/hpdf_font.c >> > trunk/harbour/external/libhpdf/hpdf_font.h >> > trunk/harbour/external/libhpdf/hpdf_font_cid.c >> > trunk/harbour/external/libhpdf/hpdf_font_tt.c >> > trunk/harbour/external/libhpdf/hpdf_font_type1.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef.h >> > trunk/harbour/external/libhpdf/hpdf_fontdef_base14.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef_cid.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef_cns.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef_cnt.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef_jp.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef_kr.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef_tt.c >> > trunk/harbour/external/libhpdf/hpdf_fontdef_type1.c >> > trunk/harbour/external/libhpdf/hpdf_gstate.c >> > trunk/harbour/external/libhpdf/hpdf_gstate.h >> > trunk/harbour/external/libhpdf/hpdf_image.c >> > trunk/harbour/external/libhpdf/hpdf_image.h >> > trunk/harbour/external/libhpdf/hpdf_image_png.c >> > trunk/harbour/external/libhpdf/hpdf_info.c >> > trunk/harbour/external/libhpdf/hpdf_info.h >> > trunk/harbour/external/libhpdf/hpdf_list.c >> > trunk/harbour/external/libhpdf/hpdf_list.h >> > trunk/harbour/external/libhpdf/hpdf_mmgr.c >> > trunk/harbour/external/libhpdf/hpdf_mmgr.h >> > trunk/harbour/external/libhpdf/hpdf_name.c >> > trunk/harbour/external/libhpdf/hpdf_null.c >> > trunk/harbour/external/libhpdf/hpdf_number.c >> > trunk/harbour/external/libhpdf/hpdf_objects.c >> > trunk/harbour/external/libhpdf/hpdf_objects.h >> > trunk/harbour/external/libhpdf/hpdf_outline.c >> > trunk/harbour/external/libhpdf/hpdf_outline.h >> > trunk/harbour/external/libhpdf/hpdf_page_label.c >> > trunk/harbour/external/libhpdf/hpdf_page_label.h >> > trunk/harbour/external/libhpdf/hpdf_page_operator.c >> > trunk/harbour/external/libhpdf/hpdf_pages.c >> > trunk/harbour/external/libhpdf/hpdf_pages.h >> > trunk/harbour/external/libhpdf/hpdf_real.c >> > trunk/harbour/external/libhpdf/hpdf_streams.c >> > trunk/harbour/external/libhpdf/hpdf_streams.h >> > trunk/harbour/external/libhpdf/hpdf_string.c >> > trunk/harbour/external/libhpdf/hpdf_types.h >> > trunk/harbour/external/libhpdf/hpdf_u3d.c >> > trunk/harbour/external/libhpdf/hpdf_u3d.h >> > trunk/harbour/external/libhpdf/hpdf_utils.c >> > trunk/harbour/external/libhpdf/hpdf_utils.h >> > trunk/harbour/external/libhpdf/hpdf_version.h >> > trunk/harbour/external/libhpdf/hpdf_xref.c >> > trunk/harbour/external/libhpdf/link.txt >> > trunk/harbour/external/libpng/ >> > trunk/harbour/external/libpng/LICENSE >> > trunk/harbour/external/libpng/Makefile >> > trunk/harbour/external/libpng/link.txt >> > trunk/harbour/external/libpng/png.c >> > trunk/harbour/external/libpng/png.h >> > trunk/harbour/external/libpng/pngconf.h >> > trunk/harbour/external/libpng/pngerror.c >> > trunk/harbour/external/libpng/pnggccrd.c >> > trunk/harbour/external/libpng/pngget.c >> > trunk/harbour/external/libpng/pngmem.c >> > trunk/harbour/external/libpng/pngpread.c >> > trunk/harbour/external/libpng/pngread.c >> > trunk/harbour/external/libpng/pngrio.c >> > trunk/harbour/external/libpng/pngrtran.c >> > trunk/harbour/external/libpng/pngrutil.c >> > trunk/harbour/external/libpng/pngset.c >> > trunk/harbour/external/libpng/pngtest.c >> > trunk/harbour/external/libpng/pngtrans.c >> > trunk/harbour/external/libpng/pngvcrd.c >> > trunk/harbour/external/libpng/pngwio.c >> > trunk/harbour/external/libpng/pngwrite.c >> > trunk/harbour/external/libpng/pngwtran.c >> > trunk/harbour/external/libpng/pngwutil.c >> > trunk/harbour/tests/bnch_win.bat >> > >> > Removed Paths: >> > ------------- >> > >> > trunk/harbour/tests/bnchmark/http://lists.harbour-project.org/mailman/listinfo/harbour > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > -- Massimo Belgrano Analisi e sviluppo software per Lan e Web - Consulenza informatica - Formazione Delta Informatica S.r.l. http://www.deltain.it/ +39 0321 455962 _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour