nanogui: MicroWindows & blackfin


Previous by date: 7 Feb 2006 04:25:58 +0000 Re: Images not drawn (FLTK+nxlib app with nano-X), Greg Haerr
Next by date: 7 Feb 2006 04:25:58 +0000 Re: VNC Server for Nanox, Pete Klemm
Previous in thread: 7 Feb 2006 04:25:58 +0000 Re: MicroWindows & blackfin, Greg Haerr
Next in thread: 7 Feb 2006 04:25:58 +0000 Re: MicroWindows & blackfin, Aubrey

Subject: RE: [nanogui] MicroWindows & blackfin
From: "Marshia R." ####@####.####
Date: 7 Feb 2006 04:25:58 +0000
Message-Id: <73C8998CF982A245A95EE73ACE13ADFA0DE66B@MAIL.cisctechnology.com>

Hello Greg
Thanks for it.


>>> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsSelect':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x600):
undefined reference to `_GdGetNextTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x7d4):
undefined reference to `_GdTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsInitialize':
//root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsHandleMouseStatus':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x56e8):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5728):

>>>>You should grep and make sure these functions are in fact included
in your files.  Otherwise it suggests a linker problem...

I have included the header files for these functions properly. But still I am
getting the same. In fact I have even included the absolute path for these
header files.


>>> root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xa70):
undefined reference to `_PALINDEX'

>>>>Funny, PALINDEX is commented out in my header file,
include/device.h.  Check yours... there should be no instances
of PALINDEX in use, unless you're running an old version
of nano-X.

I am using the microwindows which comes with uClinux distribution.
I am using uClinux-dist-20040513.tar for the kernel.
Does the problem lie there?
Also I am using nisa-elf-i386 rpm for the toolchain.
Kindly guide me.
 
Below is part of the include/device.h file which contains PALINDEX 

#if 0000
/* colors assumed in first 16 palette entries*/
/* note: don't use palette indices if the palette may
 * be reloaded.  Use the RGB values instead.
 */
#define BLACK		PALINDEX(0)		/*   0,   0,   0*/
#define BLUE		PALINDEX(1)
#define GREEN		PALINDEX(2)
#define CYAN		PALINDEX(3)
#define RED			PALINDEX(4)
#define MAGENTA		PALINDEX(5)
#define BROWN		PALINDEX(6)
#define LTGRAY		PALINDEX(7)		/* 192, 192, 192*/
#define GRAY		PALINDEX(8)		/* 128, 128, 128*/
#define LTBLUE		PALINDEX(9)
#define LTGREEN		PALINDEX(10)
#define LTCYAN		PALINDEX(11)
#define LTRED		PALINDEX(12)
#define LTMAGENTA	PALINDEX(13)
#define YELLOW		PALINDEX(14)
#define WHITE		PALINDEX(15)		/* 255, 255, 255*/
#endif


And it is not commented for me. Am I using an outdated version for this?
What can I do for it? Should I go for another distribution?

Thanks again for the suggestions.

Warm regards
Marshia

-----Original Message-----
From: Greg Haerr ####@####.#### 
Sent: Tuesday, February 07, 2006 8:09 AM
To: Marshia R.
Cc: ####@####.####
Subject: Re: [nanogui] MicroWindows & blackfin

>>> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsSelect':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x600):
undefined reference to `_GdGetNextTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x7d4):
undefined reference to `_GdTimeout'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsInitialize':
//root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt: In function
`_GsHandleMouseStatus':
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x56e8):
undefined reference to `_GsResetScreenSaver'
/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x5728):

You should grep and make sure these functions are in fact included
in your files.  Otherwise it suggests a linker problem...

>>> root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0xa70):
undefined reference to `_PALINDEX'

Funny, PALINDEX is commented out in my header file,
include/device.h.  Check yours... there should be no instances
of PALINDEX in use, unless you're running an old version
of nano-X.


> /root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x9ae2):
undefined reference to `_strcmpi'

This is a C library issue, you may need to use stricmp instead.

Regards,

Greg



> I have also tried with -lc option, but no go.

When -lc gives an error, that means your C library
isn't setup properly.


> vgaplan4.c: In function `ega_readpixel':

Find the microwindows config file that uclinux creates,
and make sure you've set FBVGA=N.  This is also the 
problem for the undefined _outw's below

/root/uClinux-dist/user/microwin/src/bin/nano-X.elf2flt(.text+0x11f3a):
undefined reference to `_outw'

Regards,

Greg



Previous by date: 7 Feb 2006 04:25:58 +0000 Re: Images not drawn (FLTK+nxlib app with nano-X), Greg Haerr
Next by date: 7 Feb 2006 04:25:58 +0000 Re: VNC Server for Nanox, Pete Klemm
Previous in thread: 7 Feb 2006 04:25:58 +0000 Re: MicroWindows & blackfin, Greg Haerr
Next in thread: 7 Feb 2006 04:25:58 +0000 Re: MicroWindows & blackfin, Aubrey


Powered by ezmlm-browse 0.20.