libgpm-dev should do the trick. 
Are you using a PS/2 compatible mouse? It should be simple to make a driver to 
interface it directly and get better control over it, as gpm is quite limited for 
non-text things.

The build system doesn't have an option for static yet, but if the guys doing the 
auto* support get that going it should be easy. Currently the easiest way is probably 
to compile it normally, then copy the line that calls the linker, and re-run it with a 
'-static' tacked onto the end. Or you could edit the makefile :)

On Wed, 04 April 2001, "Gray, Tim" wrote:

> 
> I tried several later snapshots back to mid March and they all do the same
> thing.  it seems that it fails at the ncursesinput.o
> 
> I have the stock ncurses as installed by redhat 6.2  does picogui require
> newer?
> What exaclty are the libs required to compile picoGUI.  and after I get this
> compiling, is there a way to compile it statically linked so my target
> platform does not have to have the same libraries.
> 
> 
> Thanks.
> 
> 
> -----Original Message-----
> From: Gray, Tim 
> Sent: Wednesday, April 04, 2001 11:28 AM
> To: [EMAIL PROTECTED]
> Subject: [Pgui-devel] picoGUI compile errors.
> 
> 
> Ok, I have for my development station a standard Intel box with Redhat 6.2
> on it with a clean install.
> 
> upon compiling pgserver I get the following errors.
> 
> fonts.tmp.c:1408: warning: initialization discards `const' from pointer
> target type
> rm -f fonts.tmp.c
> gcc -o pgserver widget/bitmap.o widget/indicator.o widget/label.o
> widget/toolbar.o widget/scroll.o widget/widget.o widget/button.o
> widget/popup.o widget/box.o widget/field.o widget/background.o
> widget/menuitem.o widget/checkbox.o gcore/grop.o gcore/g_malloc.o
> gcore/div.o gcore/font.o gcore/handle.o gcore/g_error.o gcore/timer.o
> gcore/errortext.o gcore/video.o gcore/input.o gcore/driverinfo.o
> gcore/pgmain.o appmgr/global.o net/request.o net/dispatch.o net/eventq.o
> vidbase/defaultvbl.o theme/memtheme.o theme/fillstyle.o  video/fbdev.o
> input/ncursesinput.o vidbase/linear8.o vidbase/linear16.o widget/terminal.o
> widget/canvas.o widget/panel.o formats/pnm.o font/fontdata.o 
> input/ncursesinput.o: In function `ncursesinput_fd_activate':
> input/ncursesinput.o(.text+0x14): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x19): undefined reference to `wgetch'
> input/ncursesinput.o(.text+0x163): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x168): undefined reference to `wgetch'
> input/ncursesinput.o(.text+0x339): undefined reference to `gpm_fd'
> input/ncursesinput.o(.text+0x349): undefined reference to `Gpm_GetEvent'
> input/ncursesinput.o(.text+0x398): undefined reference to `gpm_mx'
> input/ncursesinput.o(.text+0x3a0): undefined reference to `gpm_my'
> input/ncursesinput.o(.text+0x3d1): undefined reference to `Gpm_FitValuesM'
> input/ncursesinput.o: In function `ncursesinput_fd_init':
> input/ncursesinput.o(.text+0x4f2): undefined reference to `gpm_fd'
> input/ncursesinput.o(.text+0x507): undefined reference to `gpm_fd'
> input/ncursesinput.o: In function `ncursesinput_init':
> input/ncursesinput.o(.text+0x524): undefined reference to `initscr'
> input/ncursesinput.o(.text+0x529): undefined reference to `start_color'
> input/ncursesinput.o(.text+0x52e): undefined reference to `raw'
> input/ncursesinput.o(.text+0x536): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x53b): undefined reference to `meta'
> input/ncursesinput.o(.text+0x540): undefined reference to `noecho'
> input/ncursesinput.o(.text+0x545): undefined reference to `nonl'
> input/ncursesinput.o(.text+0x54d): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x552): undefined reference to `intrflush'
> input/ncursesinput.o(.text+0x55a): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x55f): undefined reference to `keypad'
> input/ncursesinput.o(.text+0x566): undefined reference to `curs_set'
> input/ncursesinput.o(.text+0x56e): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x573): undefined reference to `nodelay'
> input/ncursesinput.o(.text+0x59e): undefined reference to `Gpm_Open'
> input/ncursesinput.o(.text+0x5ac): undefined reference to `gpm_zerobased'
> input/ncursesinput.o: In function `ncursesinput_close':
> input/ncursesinput.o(.text+0x5c5): undefined reference to `Gpm_Close'
> input/ncursesinput.o(.text+0x5cf): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x5d4): undefined reference to `wclear'
> input/ncursesinput.o(.text+0x5da): undefined reference to `stdscr'
> input/ncursesinput.o(.text+0x5df): undefined reference to `wrefresh'
> input/ncursesinput.o(.text+0x5e4): undefined reference to `endwin'
> collect2: ld returned 1 exit status
> make: *** [pgserver] Error 1
> [timgr@gr_is2 pgserver]$ 
> 
> Here is my configuration.
> 
> 
> sh configscript/Configure config.in
> #
> # Using defaults found in .config
> #
> *
> * Target System
> *
> Platform (Linux, uClinux, Windows) [Linux] 
>   defined LINUX
> x86 asm optimization (ASM_INTEL) [N/y/?] (NEW) 
> *
> * Debugging
> *
> Enable text messages (CONFIG_TEXT) [N/y/?] 
> Debugging symbols in binary (CONFIG_NOSTRIP) [N/y/?] 
> Debugging keys (DEBUG_KEYS) [N/y/?] (NEW) 
> Video test mode (CONFIG_VIDEOTEST) [N/y/?] 
> Disable compiler optimization (CONFIG_NO_OPTIMIZE) [N/y/?] 
> Electric Fence malloc debugging (CONFIG_EFENCE) [N/y/?] 
> gcov coverage analysis (CONFIG_GCOV) [N/y/?] 
> gprof profiling (CONFIG_GPROF) [N/y/?] 
> Terminal prints unknown escapes (BOTHERSOME_TERMINAL) [N/y/?] (NEW) 
> Widget debugging (DEBUG_WIDGET) [N/y/?] (NEW) 
> Event debugging (DEBUG_EVENT) [N/y/?] (NEW) 
> Video debugging (DEBUG_VIDEO) [N/y/?] (NEW) 
> Theme debugging (DEBUG_THEME) [N/y/?] (NEW) 
> Client/server debugging (DEBUG_NET) [N/y/?] (NEW) 
> Initialization debugging (DEBUG_INIT) [N/y/?] (NEW) 
> Memory debugging (DEBUG_MEMORY) [N/y/?] (NEW) 
> *
> * Fonts
> *
> Helvetica 10 (default font) (FONT_HELVETICA10) [Y/n/?] 
> Clean 12 (default fixed-width font) (FONT_CLEAN12) [Y/n/?] 
> Lucida 10 (FONT_LUCIDA10) [N/y/?] (NEW) 
> Clean 6 (FONT_CLEAN6) [N/y/?] (NEW) 
> Console 8 (FONT_CONSOLE8) [N/y/?] (NEW) 
> Courier 12, 12b (FONT_COURIER12) [N/y/?] (NEW) 
> Helvetica 8 (FONT_HELVETICA8) [N/y/?] (NEW) 
> Times 10, 10b (FONT_TIMES10) [N/y/?] (NEW) 
> Utopia 25 (FONT_UTOPIA25) [N/y/?] (NEW) 
> *
> * Video Drivers
> *
> Linux framebuffer device (DRIVER_FBDEV) [Y/n/?] 
> SDL framebuffer driver (DRIVER_SDLFB) [N/y/?] (NEW) 
> SVGAlib framebuffer driver (DRIVER_SVGAFB) [N/y/?] (NEW) 
> SVGAlib vgagl driver (DRIVER_SVGAGL) [N/y/?] (NEW) 
> Motorola 68EZ328 LCD driver (DRIVER_EZ328) [N/y/?] (NEW) 
> Ncurses driver (DRIVER_NCURSES) [N/y/?] (NEW) 
> Null driver (DRIVER_NULL) [N/y/?] (NEW) 
> *
> * Input Drivers
> *
> SDL input driver (DRIVER_SDLINPUT) [N/y/?] (NEW) 
> SVGAlib input driver (DRIVER_SVGAINPUT) [Y/n/?] n
> Ncurses/GPM input driver (also for framebuffer) (DRIVER_NCURSESINPUT)
> [Y/n/?] 
> Touchscreen input driver (DRIVER_TSINPUT) [N/y/?] (NEW) 
> *
> * Video Base Libraries
> *
> Linear framebuffer @ 1bpp (CONFIG_VBL_LINEAR1) [N/y/?] 
> Linear framebuffer @ 2bpp (CONFIG_VBL_LINEAR2) [N/y/?] 
> Linear framebuffer @ 4bpp (CONFIG_VBL_LINEAR4) [N/y/?] 
> Linear framebuffer @ 8bpp (CONFIG_VBL_LINEAR8) [Y/n/?] 
> Linear framebuffer @ 16bpp (CONFIG_VBL_LINEAR16) [Y/n/?] 
> Video rotation support (CONFIG_ROTATE) [N/y/?] 
> *
> * Widget Options
> *
> Terminal widget (VT102 emulator) (CONFIG_WIDGET_TERMINAL) [Y/n/?] 
> Canvas widget (for arbitrary graphics) (CONFIG_WIDGET_CANVAS) [Y/n/?] 
> Disable panelbar (CONFIG_NOPANELBAR) [N/y/?] 
> Solid panel dragging (CONFIG_DRAGSOLID) [N/y/?] 
> *
> * Bitmap Formats
> *
> Internal XBM loader (CONFIG_FORMAT_XBM) [Y/n/?] 
> PNM: portable anymap (CONFIG_FORMAT_PNM) [Y/n/?] 
> *
> * Security
> *
> Disable remote input devices (CONFIG_NOREMOTEINPUT) [N/y/?] 
> Disable exclusive resource access (CONFIG_NOEXCLUSIVE) [N/y/?] 
> Client packet size limit in bytes (CONFIG_MAXPACKETSZ) [5000000] 
> Client quotas (not implemented) (CONFIG_QUOTA) [N/y/?] 
> 
> *** End of PicoGUI configuration. Now run 'make'
> [timgr@gr_is2 pgserver]$ 
> 
> I am using last night's CVS snapshot.   any ideas?
> 
> 
> thanks.
> 
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/pgui-devel
> 
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/pgui-devel

--
perl -e'socket S,2,1,tcp;connect S,pack(H16,"0200029a80692d32").\0x8;print 
grep!/=/,<S>'


_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to