nanogui: Thread: newbie question


[<<] [<] Page 1 of 1 [>] [>>]
Subject: newbie question
From: "Gerald Walden" ####@####.####
Date: 1 Dec 2001 02:43:46 -0000
Message-Id: <web-1442982@dc-mxdb02.cluster1.charter.net>

I have an x86 box running a RH7.1 (2.4.2 kernel), with a
Matrox Millenium video card.  I do not want to use xwindows
for my development.  What steps do I need to take in order
to set the proper environment variables to get my
microwindows app to run on this harware configuration?

Thanks
Subject: Newbie question
From: Carlos Manuel Duclos Vergara ####@####.####
Date: 25 Jan 2002 12:41:47 -0000
Message-Id: <02012509434603.00758@cyrano>

Hi,
i'm new in this environmet and i was trying to compile it. When i compiled it 
to run on frame buffer it compiles without further questions. But when i 
follow the guide to run it through X windows it gaves me the following error:

-->

srvfunc.o: In function `GrCreateFont':
srvfunc.o(.text+0x196b): undefined reference to `scrdev'
srvfunc.o: In function `GrLoadImageFromFile':
srvfunc.o(.text+0x2783): undefined reference to `scrdev'
srvfunc.o: In function `GrLoadImageFromBuffer':
srvfunc.o(.text+0x2874): undefined reference to `scrdev'
srvfunc.o: In function `GrInjectPointerEvent':
srvfunc.o(.text+0x2d2e): undefined reference to `scrdev'
srvfunc.o(.text+0x2d44): undefined reference to `scrdev'
srvutil.o(.text+0xf46): more undefined references to `scrdev' follow
/home/carlos/Builds/POST/microwin/src/lib/libmwengine.a(devfontpcf.o)(.data+0x4): 
undefined reference to `gen_getfontinfo'
/home/carlos/Builds/POST/microwin/src/lib/libmwengine.a(devfontpcf.o)(.data+0x8): 
undefined reference to `gen_gettextsize'
/home/carlos/Builds/POST/microwin/src/lib/libmwengine.a(devfontpcf.o)(.data+0xc): 
undefined reference to `gen_gettextbits'
/home/carlos/Builds/POST/microwin/src/lib/libmwdrivers.a(kbd_ttyscan.o): In 
function `switch_vt':
kbd_ttyscan.o(.text+0x69f): undefined reference to `ioctl_getpalette'
kbd_ttyscan.o(.text+0x768): undefined reference to `ioctl_setpalette'
collect2: ld returned 1 exit status
make[1]: *** [/home/carlos/Builds/POST/microwin/src/bin/nano-X] Error 1
make: *** [subdirs] Error 2

<--

I don't know if is me or the microwindow.
Some help would be great. I will start looking the source, but first i just 
want to know if i'm not doing anything wrong.

Bye and tia

PS here's my config file:

-->
####################################################################
# Microwindows and Nano-X configuration file
#
# This package can be configured to run on Linux (MIPS, ARM, POWERPC or x86)
# UNIX, ELKS, DJGPP, or RTEMS.
# On Linux, we've got drivers for Linux 2.x framebuffers, X11, or,
# svgalib for VGA hardware.
# In addition, a gpm or direct serial mouse driver can be configured.
# On ELKS, the bios screen driver and serial mouse driver are always used.
#
# Either Microwindows and/or Nano-X can be built.
# Microwindows and Nano-X have several demos.
#
# For MSDOS makes, see mcmwin.mak and mcnanox.mak
####################################################################

####################################################################
#
# build target platform
#
# Valid ARCH values are:
#
# LINUX-NATIVE
# LINUX-ARM
# LINUX-MIPS
# LINUX-POWERPC
# LINUX-SH
# FREEBSD-X86
# SOLARIS
# RTEMS
# DJGPP
# ELKS
#
# note: ELKS can't build client/server nano-X, nor widget lib
#
####################################################################
ARCH                     = LINUX-NATIVE
ARMTOOLSPREFIX           = arm-linux-
MIPSTOOLSPREFIX          = mipsel-linux-
POWERPCTOOLSPREFIX       = powerpc-linux-
SHTOOLSPREFIX            = sh-linux-gnu
RTEMSTOOLSPREFIX         = i386-rtemself-

####################################################################
#
# Compiling options
#
####################################################################
OPTIMIZE                 = Y
DEBUG                    = N
VERBOSE                  = N

####################################################################
#
# Libraries to build: microwin, nano-X, nanowidget, object frameworks
#
####################################################################
MICROWIN                 = Y
NANOX                    = Y
SHAREDLIBS               = N
OBJFRAMEWORK             = N


####################################################################
#
# Demos to build
#
####################################################################
MICROWINDEMO             = Y
NANOXDEMO                = Y

####################################################################
#
# Applications to build
#
####################################################################
NANOWM                   = Y

####################################################################
#
# The pixeltype of the native hardware or underlying graphics library.
# This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
# If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
# It also enables GdArea/GrArea for this particular pixel packing format.
#
# define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
# define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
# define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
# define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
# define MWPF_TRUECOLOR555  /* pixel is packed 16 bits 5/5/5 truecolor*/
# define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
#
####################################################################
SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888

####################################################################
#
# NanoX: Put Y to the following line to link the nano-X application
# with the server.  This is required for ELKS, if no network is present,
# or for speed or debugging.  This affects the nano-X server only.
#
####################################################################
LINK_APP_INTO_SERVER     = N

####################################################################
#
# File I/O support
# Supporting either below drags in libc stdio, which may not be wanted
#
####################################################################
HAVE_FILEIO              = Y

####################################################################
# BMP, GIF reading support
####################################################################
HAVE_BMP_SUPPORT         = Y
HAVE_GIF_SUPPORT         = Y
HAVE_PNM_SUPPORT         = Y
HAVE_XPM_SUPPORT         = Y

####################################################################
# JPEG support through libjpeg, see README.txt in contrib/jpeg
####################################################################
HAVE_JPEG_SUPPORT        = N
INCJPEG                  = .
LIBJPEG                  = /usr/lib/libjpeg.a

####################################################################
# PNG support via libpng and libz
####################################################################
HAVE_PNG_SUPPORT         = Y
INCPNG                   = /usr/include
LIBPNG                   = /usr/lib/libpng.a
LIBZ                     = /usr/lib/libz.a

####################################################################
# T1 adobe type1 font support thru t1lib
####################################################################
HAVE_T1LIB_SUPPORT       = N
INCT1LIB                 = /usr/include
LIBT1LIB                 = /usr/lib/libt1.a

####################################################################
# TrueType font support thru FreeType
####################################################################
HAVE_FREETYPE_SUPPORT    = N
INCFTLIB                 = /usr/include
LIBFTLIB                 = /usr/lib/libttf.so
FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"

####################################################################
# PCF font support 
# Selecting HAVE_PCFGZ_SUPPORT will allow you to directly read
# .pcf.gz files, but it will add libz to the size of the server
####################################################################
HAVE_PCF_SUPPORT         = Y
HAVE_PCFGZ_SUPPORT       = Y
LIBZ                     = /usr/lib/libz.a

####################################################################
# Shared memory support for Nano-X client/server protocol speedup
####################################################################
HAVE_SHAREDMEM_SUPPORT   = N

####################################################################
# Chinese Han Zi Ku font support
####################################################################
HAVE_HZK_SUPPORT         = N
HZK_FONT_DIR             = "fonts/chinese"

####################################################################
# Chinese BIG5 compiled in font support (big5font.c)
####################################################################
HAVE_BIG5_SUPPORT        = N

####################################################################
# Chinese GB2312 compiled in font support (gb2312font.c)
####################################################################
HAVE_GB2312_SUPPORT      = N

####################################################################
# Korean HANGUL font support (jo16x16.c)
####################################################################
HAVE_KSC5601_SUPPORT     = N
HANGUL_FONT_DIR          = "fonts/korean"

####################################################################
# Generate screen driver interface only with no fonts or clipping
####################################################################
NOFONTSORCLIPPING        = N

####################################################################
#
# Window move algorithms for Microwindows
# Change for tradeoff between cpu speed and looks
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
# Otherwise an XOR redraw is used for window moves only after button up,
# quickest (should set for ELKS)
# UPDATEREGIONS paints in update clipping region only for better look and feel
#
####################################################################
ERASEMOVE                = Y
UPDATEREGIONS            = Y

####################################################################
#
# Use MS fonts (default no)
#
####################################################################
HAVEMSFONTS              = N

####################################################################
#
# Link with Gray Palette (valid only for 4bpp modes)
#
####################################################################
GRAYPALETTE              = N

####################################################################
#
# If the platform is running UNIX, Linux or RTEMS...
#
####################################################################
ifneq ($(ARCH), ELKS)

# X Window screen, mouse and kbd drivers
X11                      = Y 

ifeq ($(X11), Y)
# predefined model or select screen width, height, depth(palette mode only)
SCREEN_E15               = Y 
SCREEN_WIDTH             = 800 
SCREEN_HEIGHT            = 600 
SCREEN_DEPTH             = 16 

# You may want to turn this on for XFree86 4.x or if your backing store
# isn't functioning properly
USE_EXPOSURE		 = Y

else

# framebuffer screen driver (linear and/or vga 4 planes)
# set VTSWITCH to include virtual terminal switch code
# set FBREVERSE to reverse bit orders in 1,2,4 bpp
# set FBVGA=N for all systems without VGA hardware (for MIPS must=N)
FRAMEBUFFER              = N 
FBVGA                    = N 
VTSWITCH                 = N 
FBREVERSE                = N

# svgalib screen driver
VGALIB                   = N

# direct VGA hardware access screen driver
HWVGA                    = N

####################################################################
# Mouse or touch screen driver
# TPMOUSE for Linux-VR and Embedded Planet
# TPHELIO for VTech Helio
# ADSMOUSE for ADS Graphics Client
# IPAQMOUSE for Compaq iPAQ,Intel Assabet, ARM ucb1200 (/dev/h3600_ts 11,0)
# HARRIERMOUSE for NEC Harrier
# PSIONMOUSE for the Psion 5
# MTMOUSE for Microtouch touchpanel controller at RS232 port
####################################################################
GPMMOUSE                 = Y
SERMOUSE                 = N
TPMOUSE                  = N
TPHELIO                  = N
ADSMOUSE                 = N
IPAQMOUSE                = N
HARRIERMOUSE             = N
PSIONMOUSE               = N
MTMOUSE                  = N
NOMOUSE                  = N

# keyboard or null kbd driver
TTYKBD                   = N
SCANKBD                  = Y
PIPEKBD                  = N
NOKBD                    = N

endif

####################################################################
# Screen driver specific configuration
# SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
# INVERT4BPP 4bpp inverted pixel driver for VTech Helio
####################################################################
SA1100_LCD_LTLEND        = N
INVERT4BPP               = N

####################################################################
#
# If the platform is a RTEMS box ....
#
####################################################################
ifeq ($(ARCH), RTEMS)

# Location & BSP information of the RTEMS build
RTEMS_BUILD              = /tools/build-i386-elf-rtems
RTEMS_BSP                = pc386
LINK_APP_INTO_SERVER     = Y

endif

endif

####################################################################
#
# If the platform is an ELKS box ...
#
####################################################################
ifeq ($(ARCH), ELKS)

# Higher speed asm driver, c driver of hercules screen driver
ASMVGADRIVER             = Y
CVGADRIVER               = N
HERCDRIVER               = N
DBGDRIVER                = N

# Mouse support
SERMOUSE                 = Y

endif

<--
?[ð?Š
-- 
"Solo me arrepiento de unos * de menos y unos ++ de sobra"
Carlos Manuel Duclos Vergara
Subject: Re: [nanogui] Newbie question
From: "Greg Haerr" ####@####.####
Date: 26 Jan 2002 06:32:59 -0000
Message-Id: <066c01c1a631$4d3c72a0$3aba46a6@xmission.com>

: srvfunc.o: In function `GrCreateFont':
: srvfunc.o(.text+0x196b): undefined reference to `scrdev'

Try using the Configs/config.x11 as the config file.  It's been
tested for X Windows.

Regards,

Greg



: srvfunc.o: In function `GrLoadImageFromFile':
: srvfunc.o(.text+0x2783): undefined reference to `scrdev'
: srvfunc.o: In function `GrLoadImageFromBuffer':
: srvfunc.o(.text+0x2874): undefined reference to `scrdev'
: srvfunc.o: In function `GrInjectPointerEvent':
: srvfunc.o(.text+0x2d2e): undefined reference to `scrdev'
: srvfunc.o(.text+0x2d44): undefined reference to `scrdev'
: srvutil.o(.text+0xf46): more undefined references to `scrdev' follow
:
/home/carlos/Builds/POST/microwin/src/lib/libmwengine.a(devfontpcf.o)(.data+0x4)
:
: undefined reference to `gen_getfontinfo'
:
/home/carlos/Builds/POST/microwin/src/lib/libmwengine.a(devfontpcf.o)(.data+0x8)
:
: undefined reference to `gen_gettextsize'
:
/home/carlos/Builds/POST/microwin/src/lib/libmwengine.a(devfontpcf.o)(.data+0xc)
:
: undefined reference to `gen_gettextbits'
: /home/carlos/Builds/POST/microwin/src/lib/libmwdrivers.a(kbd_ttyscan.o): In
: function `switch_vt':
: kbd_ttyscan.o(.text+0x69f): undefined reference to `ioctl_getpalette'
: kbd_ttyscan.o(.text+0x768): undefined reference to `ioctl_setpalette'
: collect2: ld returned 1 exit status
: make[1]: *** [/home/carlos/Builds/POST/microwin/src/bin/nano-X] Error 1
: make: *** [subdirs] Error 2
:
: <--
:
: I don't know if is me or the microwindow.
: Some help would be great. I will start looking the source, but first i just
: want to know if i'm not doing anything wrong.
:
: Bye and tia
:
: PS here's my config file:
:
: -->
: ####################################################################
: # Microwindows and Nano-X configuration file
: #
: # This package can be configured to run on Linux (MIPS, ARM, POWERPC or x86)
: # UNIX, ELKS, DJGPP, or RTEMS.
: # On Linux, we've got drivers for Linux 2.x framebuffers, X11, or,
: # svgalib for VGA hardware.
: # In addition, a gpm or direct serial mouse driver can be configured.
: # On ELKS, the bios screen driver and serial mouse driver are always used.
: #
: # Either Microwindows and/or Nano-X can be built.
: # Microwindows and Nano-X have several demos.
: #
: # For MSDOS makes, see mcmwin.mak and mcnanox.mak
: ####################################################################
:
: ####################################################################
: #
: # build target platform
: #
: # Valid ARCH values are:
: #
: # LINUX-NATIVE
: # LINUX-ARM
: # LINUX-MIPS
: # LINUX-POWERPC
: # LINUX-SH
: # FREEBSD-X86
: # SOLARIS
: # RTEMS
: # DJGPP
: # ELKS
: #
: # note: ELKS can't build client/server nano-X, nor widget lib
: #
: ####################################################################
: ARCH                     = LINUX-NATIVE
: ARMTOOLSPREFIX           = arm-linux-
: MIPSTOOLSPREFIX          = mipsel-linux-
: POWERPCTOOLSPREFIX       = powerpc-linux-
: SHTOOLSPREFIX            = sh-linux-gnu
: RTEMSTOOLSPREFIX         = i386-rtemself-
:
: ####################################################################
: #
: # Compiling options
: #
: ####################################################################
: OPTIMIZE                 = Y
: DEBUG                    = N
: VERBOSE                  = N
:
: ####################################################################
: #
: # Libraries to build: microwin, nano-X, nanowidget, object frameworks
: #
: ####################################################################
: MICROWIN                 = Y
: NANOX                    = Y
: SHAREDLIBS               = N
: OBJFRAMEWORK             = N
:
:
: ####################################################################
: #
: # Demos to build
: #
: ####################################################################
: MICROWINDEMO             = Y
: NANOXDEMO                = Y
:
: ####################################################################
: #
: # Applications to build
: #
: ####################################################################
: NANOWM                   = Y
:
: ####################################################################
: #
: # The pixeltype of the native hardware or underlying graphics library.
: # This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
: # If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
: # It also enables GdArea/GrArea for this particular pixel packing format.
: #
: # define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
: # define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
: # define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
: # define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
: # define MWPF_TRUECOLOR555  /* pixel is packed 16 bits 5/5/5 truecolor*/
: # define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
: #
: ####################################################################
: SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888
:
: ####################################################################
: #
: # NanoX: Put Y to the following line to link the nano-X application
: # with the server.  This is required for ELKS, if no network is present,
: # or for speed or debugging.  This affects the nano-X server only.
: #
: ####################################################################
: LINK_APP_INTO_SERVER     = N
:
: ####################################################################
: #
: # File I/O support
: # Supporting either below drags in libc stdio, which may not be wanted
: #
: ####################################################################
: HAVE_FILEIO              = Y
:
: ####################################################################
: # BMP, GIF reading support
: ####################################################################
: HAVE_BMP_SUPPORT         = Y
: HAVE_GIF_SUPPORT         = Y
: HAVE_PNM_SUPPORT         = Y
: HAVE_XPM_SUPPORT         = Y
:
: ####################################################################
: # JPEG support through libjpeg, see README.txt in contrib/jpeg
: ####################################################################
: HAVE_JPEG_SUPPORT        = N
: INCJPEG                  = .
: LIBJPEG                  = /usr/lib/libjpeg.a
:
: ####################################################################
: # PNG support via libpng and libz
: ####################################################################
: HAVE_PNG_SUPPORT         = Y
: INCPNG                   = /usr/include
: LIBPNG                   = /usr/lib/libpng.a
: LIBZ                     = /usr/lib/libz.a
:
: ####################################################################
: # T1 adobe type1 font support thru t1lib
: ####################################################################
: HAVE_T1LIB_SUPPORT       = N
: INCT1LIB                 = /usr/include
: LIBT1LIB                 = /usr/lib/libt1.a
:
: ####################################################################
: # TrueType font support thru FreeType
: ####################################################################
: HAVE_FREETYPE_SUPPORT    = N
: INCFTLIB                 = /usr/include
: LIBFTLIB                 = /usr/lib/libttf.so
: FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"
:
: ####################################################################
: # PCF font support
: # Selecting HAVE_PCFGZ_SUPPORT will allow you to directly read
: # .pcf.gz files, but it will add libz to the size of the server
: ####################################################################
: HAVE_PCF_SUPPORT         = Y
: HAVE_PCFGZ_SUPPORT       = Y
: LIBZ                     = /usr/lib/libz.a
:
: ####################################################################
: # Shared memory support for Nano-X client/server protocol speedup
: ####################################################################
: HAVE_SHAREDMEM_SUPPORT   = N
:
: ####################################################################
: # Chinese Han Zi Ku font support
: ####################################################################
: HAVE_HZK_SUPPORT         = N
: HZK_FONT_DIR             = "fonts/chinese"
:
: ####################################################################
: # Chinese BIG5 compiled in font support (big5font.c)
: ####################################################################
: HAVE_BIG5_SUPPORT        = N
:
: ####################################################################
: # Chinese GB2312 compiled in font support (gb2312font.c)
: ####################################################################
: HAVE_GB2312_SUPPORT      = N
:
: ####################################################################
: # Korean HANGUL font support (jo16x16.c)
: ####################################################################
: HAVE_KSC5601_SUPPORT     = N
: HANGUL_FONT_DIR          = "fonts/korean"
:
: ####################################################################
: # Generate screen driver interface only with no fonts or clipping
: ####################################################################
: NOFONTSORCLIPPING        = N
:
: ####################################################################
: #
: # Window move algorithms for Microwindows
: # Change for tradeoff between cpu speed and looks
: # ERASEMOVE repaints only backgrounds while window dragging, quicker.
: # Otherwise an XOR redraw is used for window moves only after button up,
: # quickest (should set for ELKS)
: # UPDATEREGIONS paints in update clipping region only for better look and feel
: #
: ####################################################################
: ERASEMOVE                = Y
: UPDATEREGIONS            = Y
:
: ####################################################################
: #
: # Use MS fonts (default no)
: #
: ####################################################################
: HAVEMSFONTS              = N
:
: ####################################################################
: #
: # Link with Gray Palette (valid only for 4bpp modes)
: #
: ####################################################################
: GRAYPALETTE              = N
:
: ####################################################################
: #
: # If the platform is running UNIX, Linux or RTEMS...
: #
: ####################################################################
: ifneq ($(ARCH), ELKS)
:
: # X Window screen, mouse and kbd drivers
: X11                      = Y
:
: ifeq ($(X11), Y)
: # predefined model or select screen width, height, depth(palette mode only)
: SCREEN_E15               = Y
: SCREEN_WIDTH             = 800
: SCREEN_HEIGHT            = 600
: SCREEN_DEPTH             = 16
:
: # You may want to turn this on for XFree86 4.x or if your backing store
: # isn't functioning properly
: USE_EXPOSURE = Y
:
: else
:
: # framebuffer screen driver (linear and/or vga 4 planes)
: # set VTSWITCH to include virtual terminal switch code
: # set FBREVERSE to reverse bit orders in 1,2,4 bpp
: # set FBVGA=N for all systems without VGA hardware (for MIPS must=N)
: FRAMEBUFFER              = N
: FBVGA                    = N
: VTSWITCH                 = N
: FBREVERSE                = N
:
: # svgalib screen driver
: VGALIB                   = N
:
: # direct VGA hardware access screen driver
: HWVGA                    = N
:
: ####################################################################
: # Mouse or touch screen driver
: # TPMOUSE for Linux-VR and Embedded Planet
: # TPHELIO for VTech Helio
: # ADSMOUSE for ADS Graphics Client
: # IPAQMOUSE for Compaq iPAQ,Intel Assabet, ARM ucb1200 (/dev/h3600_ts 11,0)
: # HARRIERMOUSE for NEC Harrier
: # PSIONMOUSE for the Psion 5
: # MTMOUSE for Microtouch touchpanel controller at RS232 port
: ####################################################################
: GPMMOUSE                 = Y
: SERMOUSE                 = N
: TPMOUSE                  = N
: TPHELIO                  = N
: ADSMOUSE                 = N
: IPAQMOUSE                = N
: HARRIERMOUSE             = N
: PSIONMOUSE               = N
: MTMOUSE                  = N
: NOMOUSE                  = N
:
: # keyboard or null kbd driver
: TTYKBD                   = N
: SCANKBD                  = Y
: PIPEKBD                  = N
: NOKBD                    = N
:
: endif
:
: ####################################################################
: # Screen driver specific configuration
: # SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
: # INVERT4BPP 4bpp inverted pixel driver for VTech Helio
: ####################################################################
: SA1100_LCD_LTLEND        = N
: INVERT4BPP               = N
:
: ####################################################################
: #
: # If the platform is a RTEMS box ....
: #
: ####################################################################
: ifeq ($(ARCH), RTEMS)
:
: # Location & BSP information of the RTEMS build
: RTEMS_BUILD              = /tools/build-i386-elf-rtems
: RTEMS_BSP                = pc386
: LINK_APP_INTO_SERVER     = Y
:
: endif
:
: endif
:
: ####################################################################
: #
: # If the platform is an ELKS box ...
: #
: ####################################################################
: ifeq ($(ARCH), ELKS)
:
: # Higher speed asm driver, c driver of hercules screen driver
: ASMVGADRIVER             = Y
: CVGADRIVER               = N
: HERCDRIVER               = N
: DBGDRIVER                = N
:
: # Mouse support
: SERMOUSE                 = Y
:
: endif
:
: <--
: ?[ð?Š
: --
: "Solo me arrepiento de unos * de menos y unos ++ de sobra"
: Carlos Manuel Duclos Vergara
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
:

Subject: newbie question
From: Marcellus Pereira ####@####.####
Date: 1 Dec 2005 18:35:57 +0000
Message-Id: <c4fe94d10512011035g540ccd22wbb4c5db27de7a606@mail.gmail.com>

Dear All,

I'm trying to use Microwindows in my first embedded linux project. First,
I'm trying to compile it to run in the host native linux. This is my the
stripeed config file:

...
# X Window screen, mouse and kbd drivers
X11                      = Y

ifeq ($(X11), Y)
# startup screen width, height, (depth for palette mode only)
SCREEN_WIDTH             = 640
SCREEN_HEIGHT            = 480
SCREEN_DEPTH             = 4

# You may want to turn this on for XFree86 4.x or if your backing store
# isn't functioning properly
USE_EXPOSURE         = N
...

after teh compilation, the bin/nano-X works fine. But, when I try to run the
following line:

bin/nano-X & sleep 1; bin/world

I face the following error:

bin/world: error while loading shared libraries: libnano-X.so: cannot open
shared object file: No such file or directory
[root@marcellus src]# X connection to :0.0 broken (explicit kill or server
shutdown).

[1]+  Exit 1                  ./bin/nano-X

The libnano-X.so is in the lib directory, I tryied to copy it to bin
directory... but nothing worked. Any ideias?

Thank you very much,

Marcellus Pereira
--
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
http://marcellus.spymac.net
Subject: Re: [nanogui] newbie question
From: Patrick Boyd ####@####.####
Date: 1 Dec 2005 20:18:55 +0000
Message-Id: <f047f77d0512011218k7cf9e90dv737544c7bc698344@mail.gmail.com>

What does "ldd world" return?

Patrick Boyd

On 12/1/05, Marcellus Pereira ####@####.#### wrote:
> Dear All,
>
> I'm trying to use Microwindows in my first embedded linux project. First,
> I'm trying to compile it to run in the host native linux. This is my the
> stripeed config file:
>
> ...
> # X Window screen, mouse and kbd drivers
> X11                      = Y
>
> ifeq ($(X11), Y)
> # startup screen width, height, (depth for palette mode only)
> SCREEN_WIDTH             = 640
> SCREEN_HEIGHT            = 480
> SCREEN_DEPTH             = 4
>
> # You may want to turn this on for XFree86 4.x or if your backing store
> # isn't functioning properly
> USE_EXPOSURE         = N
> ...
>
> after teh compilation, the bin/nano-X works fine. But, when I try to run the
> following line:
>
> bin/nano-X & sleep 1; bin/world
>
> I face the following error:
>
> bin/world: error while loading shared libraries: libnano-X.so: cannot open
> shared object file: No such file or directory
> [root@marcellus src]# X connection to :0.0 broken (explicit kill or server
> shutdown).
>
> [1]+  Exit 1                  ./bin/nano-X
>
> The libnano-X.so is in the lib directory, I tryied to copy it to bin
> directory... but nothing worked. Any ideias?
>
> Thank you very much,
>
> Marcellus Pereira
> --
> _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> http://marcellus.spymac.net
>
>
Subject: Re: [nanogui] newbie question
From: Marcellus Pereira ####@####.####
Date: 1 Dec 2005 20:33:55 +0000
Message-Id: <c4fe94d10512011233q538f8c3et603d10131e9f2c67@mail.gmail.com>

[marcellus@marcellus src]$ ldd bin/world
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40024000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40104000)
        libnano-X.so => not found
        libc.so.6 => /lib/i686/libc.so.6 (0x40126000)
        libdl.so.2 => /lib/libdl.so.2 (0x4025f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[]s
Marcellus

On 12/1/05, Patrick Boyd ####@####.#### wrote:
>
> What does "ldd world" return?
>
> Patrick Boyd
>
> On 12/1/05, Marcellus Pereira ####@####.#### wrote:
> > Dear All,
> >
> > I'm trying to use Microwindows in my first embedded linux project.
> First,
> > I'm trying to compile it to run in the host native linux. This is my the
> > stripeed config file:
> >
> > ...
> > # X Window screen, mouse and kbd drivers
> > X11                      = Y
> >
> > ifeq ($(X11), Y)
> > # startup screen width, height, (depth for palette mode only)
> > SCREEN_WIDTH             = 640
> > SCREEN_HEIGHT            = 480
> > SCREEN_DEPTH             = 4
> >
> > # You may want to turn this on for XFree86 4.x or if your backing store
> > # isn't functioning properly
> > USE_EXPOSURE         = N
> > ...
> >
> > after teh compilation, the bin/nano-X works fine. But, when I try to run
> the
> > following line:
> >
> > bin/nano-X & sleep 1; bin/world
> >
> > I face the following error:
> >
> > bin/world: error while loading shared libraries: libnano-X.so: cannot
> open
> > shared object file: No such file or directory
> > [root@marcellus src]# X connection to :0.0 broken (explicit kill or
> server
> > shutdown).
> >
> > [1]+  Exit 1                  ./bin/nano-X
> >
> > The libnano-X.so is in the lib directory, I tryied to copy it to bin
> > directory... but nothing worked. Any ideias?
> >
> > Thank you very much,
> >
> > Marcellus Pereira
> > --
> > _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > http://marcellus.spymac.net
> >
> >
>



--
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
http://marcellus.spymac.net
Subject: Re: [nanogui] newbie question
From: Patrick Boyd ####@####.####
Date: 2 Dec 2005 01:40:23 +0000
Message-Id: <f047f77d0512011740g1f449ca1n96d7945ff1d57ad@mail.gmail.com>

Ok so what lib directory are you talking about libnano-X.so being in?
It should be in /lib or somewhere else in the lib search path.

Patrick Boyd
On 12/1/05, Marcellus Pereira ####@####.#### wrote:
> [marcellus@marcellus src]$ ldd bin/world
>          libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40024000)
>          libm.so.6 => /lib/i686/libm.so.6 (0x40104000)
>          libnano-X.so => not found
>          libc.so.6 => /lib/i686/libc.so.6 (0x40126000)
>          libdl.so.2 => /lib/libdl.so.2 (0x4025f000)
>          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>  []s
>  Marcellus
>
>
> On 12/1/05, Patrick Boyd ####@####.#### wrote:
> > What does "ldd world" return?
> >
> > Patrick Boyd
> >
> > On 12/1/05, Marcellus Pereira ####@####.#### wrote:
> > > Dear All,
> > >
> > > I'm trying to use Microwindows in my first embedded linux project.
> First,
> > > I'm trying to compile it to run in the host native linux. This is my the
> > > stripeed config file:
> > >
> > > ...
> > > # X Window screen, mouse and kbd drivers
> > > X11                      = Y
> > >
> > > ifeq ($(X11), Y)
> > > # startup screen width, height, (depth for palette mode only)
> > > SCREEN_WIDTH             = 640
> > > SCREEN_HEIGHT            = 480
> > > SCREEN_DEPTH             = 4
> > >
> > > # You may want to turn this on for XFree86 4.x or if your backing store
> > > # isn't functioning properly
> > > USE_EXPOSURE         = N
> > > ...
> > >
> > > after teh compilation, the bin/nano-X works fine. But, when I try to run
> the
> > > following line:
> > >
> > > bin/nano-X & sleep 1; bin/world
> > >
> > > I face the following error:
> > >
> > > bin/world: error while loading shared libraries: libnano-X.so: cannot
> open
> > > shared object file: No such file or directory
> > > [root@marcellus src]# X connection to :0.0 broken (explicit kill or
> server
> > > shutdown).
> > >
> > > [1]+  Exit 1                  ./bin/nano-X
> > >
> > > The libnano-X.so is in the lib directory, I tryied to copy it to bin
> > > directory... but nothing worked. Any ideias?
> > >
> > > Thank you very much,
> > >
> > > Marcellus Pereira
> > > --
> > > _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > > http://marcellus.spymac.net
> > >
> > >
> >
>
>
>
> --
> _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> http://marcellus.spymac.net
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.