[fpc-pascal]fpc-1.0.2/examples/forms : compiling error
NDQ
NDQ at iris.ltas.ulg.ac.be
Sat Oct 28 21:01:14 CEST 2000
Hi,
I try compile example "menu.pp" in "fpc-1.0.2/examples/forms" (Linux).
Unfortunatly, I have error following :
------------------------------------------------------------
[quy] /tmp/forms$ ppc386 menu.pp
Free Pascal Compiler version 1.0.2 [2000/10/12] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling menu.pp
Assembling menudemo
Linking menu
/usr/X11R6/lib//libforms.a(pixmap.o): In function `cleanup_xpma_struct':
pixmap.o(.text+0x27): undefined reference to `XpmLibraryVersion'
pixmap.o(.text+0xc8): undefined reference to `XpmFreeAttributes'
/usr/X11R6/lib//libforms.a(pixmap.o): In function `fl_create_from_pixmapdata':
pixmap.o(.text+0x57f): undefined reference to `XpmAttributesSize'
pixmap.o(.text+0x5b5): undefined reference to `XpmCreatePixmapFromData'
/usr/X11R6/lib//libforms.a(pixmap.o): In function `fl_read_pixmapfile':
pixmap.o(.text+0x843): undefined reference to `XpmAttributesSize'
pixmap.o(.text+0x879): undefined reference to `XpmReadFileToPixmap'
menu.pp(122) Warning: Error while linking
Closing script ppas.sh
121 Lines compiled, 1.7 sec
-------------------------------------------------------------
Would you tell me how to create popup et pulldown menus with fpc ?(console and X)
Any DOC I could found for this ?
I'm under Linux RH6.1+ fpc-1.0.2 [2000/10/12]
Thanks in advance,
--
NGUYEN-DAI Quy
Rue des Champs 84, B4020, Liège, Belgique
Tél:+32-4-349.15.29
http://iris.ltas.ulg.ac.be
More information about the fpc-pascal
mailing list