Re: 64-bits problem

On Thu, 2007-03-01 at 09:14 +0000, Regis Boudin wrote:
> Patch already merged in CVS.

thanks, now I have this problems with --disable-annot:
g++  -o ../bin/amaya wxdialog/AuthentDlgWX.o wxdialog/CheckedListDlgWX.o wxdialog/CreateTableDlgWX.o wxdialog/DocInfoDlgWX.o wxdialog/EnumListDlgWX.o wxdialog/HRefDlgWX.o wxdialog/ImageDlgWX.o wxdialog/InitConfirmDlgWX.o wxdialog/ListDlgWX.o wxdialog/ListEditDlgWX.o wxdialog/NewTemplateDocDlgWX.o wxdialog/MakeIdDlgWX.o wxdialog/NumDlgWX.o wxdialog/ObjectDlgWX.o wxdialog/OpenDocDlgWX.o wxdialog/PreferenceDlgWX.o wxdialog/PrintDlgWX.o wxdialog/SaveAsDlgWX.o wxdialog/SearchDlgWX.o wxdialog/SelectOperatorDlgWX.o wxdialog/SelectFenceAttributesDlgWX.o wxdialog/SelectIntegralDlgWX.o wxdialog/SpellCheckDlgWX.o wxdialog/StyleDlgWX.o wxdialog/TextDlgWX.o wxdialog/TitleDlgWX.o wxdialogapi.o EDITORAPP.o HTMLAPP.o TextFileAPP.o XLinkAPP.o XMLAPP.o AHTURLTools.o EDITORactions.o EDITimage.o EDITstyle.o HTMLactions.o HTMLbook.o HTMLedit.o HTMLform.o HTMLhistory.o HTMLimage.o HTMLpresentation.o HTMLsave.o HTMLtable.o html2thot.o init.o insertelem.o libmanag.o MENUconf.o XLinkbuilder.o XLinkedit.o mydictionary.o templates.o trans.o transparse.o UIcss.o Xml2thot.o Xmlbuilder.o XHTMLbuilder.o XPointer.o XPointerparse.o  AHTBridge.o AHTFWrite.o answer.o query.o AHTMemConv.o AHTInit.o anim.o animbuilder.o SVGAPP.o SVGbuilder.o SVGedit.o TimelineAPP.o MathMLAPP.o MathMLbuilder.o Mathedit.o  ../libwww/Library/src/HTHome.o   libCSS.a  ../davlib/davlib.a    -L../thotlib -L.. -lThotEditor     -ljpeg -lpng -lz  -L../libwww/Library/src/.libs  -lwwwzip -lwwwapp -lwwwhtml -lwwwhttp -lwwwmime -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwtrans -lwwwcore -lwwwutils -lwwwdav -L../libwww/modules/md5/.libs -lmd5 ../libwww/modules/expat/.libs/libexpat.a -ldl      -L/usr/lib64 -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgdk_imlib
../libwww/Library/src/.libs/libwwwcore.a(HTWWWStr.o): In function `HTMessageIdStr':
HTWWWStr.c:(.text+0xedd): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../libwww/Library/src/.libs/libwwwcore.a(HTInet.o): In function `HTGetTmpFileName':
HTInet.c:(.text+0x155): warning: the use of `tempnam' is dangerous, better use `mkstemp'
../thotlib/libThotEditor.a(pnghandler.o): In function `ReadPng(_IO_FILE*, int*, int*, int*, int*, XColor**, int*, bool*, bool*)':
pnghandler.c:(.text+0x799): undefined reference to `png_read_destroy'
collect2: ld returned 1 exit status
make[1]: *** [../bin/amaya] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/amaya-9.54/Amaya9.54/Amaya/gtk-build/amaya'
make: *** [amaya_prog] Error 2

and with --enable-annot
g++ -O2 -Wall -x c++ -D__cplusplus -DHAVE_CONFIG_H -DANNOTATIONS -I.. -I../amaya  -I../../annotlib/f -I../../amaya -I../../amaya/f -I../libwww -I../../../libwww/Library/src -I../../../libwww/modules/expat/lib -I../../../redland/librdf -I../../../redland/raptor -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include  -D_UNIX   -DXML_GENERIC -D_GTK     -DAM_REDLAND -I../../../redland/librdf -I../../../redland/raptor  -DBOOKMARKS -c ../../annotlib/BMtools.c -o BMtools.o
/usr/bin/ar rc libAnnot.a AnnotAPP.o ANNOTevent.o ANNOTfiles.o ANNOTlink.o ANNOTtools.o AHTrdf2annot.o ANNOTmenu.o ANNOTschemas.o TopicsAPP.o BMevent.o BMmenu.o BMfile.o BMview.o BMtools.o
/usr/bin/ar: TopicsAPP.o: No such file or directory
make[2]: *** [libAnnot.a] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/amaya-9.54/Amaya9.54/Amaya/gtk-build/annotlib'
make[1]: *** [../annotlib/libAnnot.a] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/amaya-9.54/Amaya9.54/Amaya/gtk-build/amaya'
make: *** [amaya_prog] Error 2

-- 
Sérgio M.B.

Received on Friday, 2 March 2007 01:06:34 UTC