>Re: [uClinux-dev] Using m68k-elf-gcc to compile microwindows

From: aavan@263.net
Date: Thu Jul 12 2001 - 03:45:24 EDT


Hi,

I try it. but encounter new problem. There are lots of error information I getting, like that:

........
/opt/microwin/src/lib/libmwengine.a(devtimer.o): In function 'GdError'
devtimer.o(.text+0x1268): undefined reference to 'open'
devtimer.o(.text+0x12a8): undefined reference to 'ioctl'
devtimer.o(.text+0x12b9): undefined reference to 'malloc'
devtimer.o(.text+0x132f): undefined reference to 'memset'
........

I can compile the microwindows by using m68k-elf-gcc successfully by reconfigure the config file like this:
ARCH = LINUX_NATIVE
...
MICROWIN = Y
NANOX = N
...
MICROWINDEMO = N
NANOXDEMO = N
...
HAVE_FILEIO = Y
...
SUPPORT_BMP = N
SUPPORT_GIF = N
...
FRAME_BUF = Y
VGA_LIB = N
...
NOMOUSE = Y
...
NOKBD = Y
...

The compiler issue when setting the MICROWINDEMO = Y.

Please give me a hint and help me, thanks.

Best Regards

Aavan



***************************************************
On Thu, Jul 12, 2001 at 01:11:41PM +0800, aavan@263.net wrote:
| error:
| /opt/microwin/src/lib/libmwengine.a: could not read symbols: Archive has no in
dex; run ranlib to add one
| collect2: ld returned 1 exit status

as the error message says: "Archive has no index; run ranlib to add one"
use:
/path/to/m68k-elf-ranlib /opt/microwin/src/lib/libmwengine.a

chyrag.
-- 
Chirag Kantharia, slashetc.net/chyrag/

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/



_____________________________________________
IP卡、上网卡三折抢购  http://shopping.263.net/category08.htm
花580元买数码相机,送100元IP卡 http://shopping.263.net/category21.htm
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:55 EDT