To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 455
454  |  456
Subject: 
Hapless WinNT user
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 8 Nov 1999 21:35:02 GMT
Viewed: 
1020 times
  
That's me, trying to use legOS 0.2.2 on WinNT with CygWin.

I'm using the same tools that worked for me for legOS 0.1.7. Make
complains when it tries to build dll, specifically when it tries
to compile loader.c. I get a bunch of redefined symbols and
some other stuff:

-----
bash-2.02$ make dll
gcc -o loader.o -c loader.c -O2 -Wall -I/usr/include -I. -I../../include
In file included from ..\..\include\stdlib.h:29,
                 from loader.c:31:
..\..\include\mem.h:35: warning: `NULL' redefined
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\
..\..\i586-cygwin32\include\stdio.h:84: warning: this is the location of
the pre
vious definition
In file included from loader.c:41:
..\..\include\sys/lnp-logical.h:36: warning: `MSECS_TO_TICKS' redefined
..\..\include\time.h:56: warning: this is the location of the previous
definitio
n
In file included from ..\..\include\stdlib.h:29,
                 from loader.c:31:
..\..\include\mem.h:37: warning: redefinition of `size_t'
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\includ
e\stddef.h:170: warning: `size_t' previously declared here
In file included from
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin
32\egcs-2.91.57\..\..\..\..\i586-cygwin32\include\sys/fcntl.h:163,
                 from
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin
32\egcs-2.91.57\..\..\..\..\i586-cygwin32\include\fcntl.h:4,
                 from loader.c:33:
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\
..\..\i586-cygwin32\include\sys/types.h:60: conflicting types for
`time_t'
..\..\include\time.h:46: previous declaration of `time_t'
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\
..\..\i586-cygwin32\include\sys/types.h:107: conflicting types for
`pid_t'
..\..\include\tm.h:107: previous declaration of `pid_t'
In file included from
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin
32\egcs-2.91.57\..\..\..\..\i586-cygwin32\include\signal.h:8,
                 from loader.c:36:
c:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\
..\..\i586-cygwin32\include\sys/signal.h:41: conflicting types for
`kill'
..\..\include\unistd.h:92: previous declaration of `kill'
loader.c: In function `lnp_logical_write':
loader.c:96: warning: implicit declaration of function `bzero'
loader.c:98: warning: implicit declaration of function `select'
loader.c:104: warning: implicit declaration of function `write'
loader.c: In function `dir_read':
loader.c:118: warning: implicit declaration of function `read'
loader.c: In function `lnp_assured_write':
loader.c:126: storage size of `timeout' isn't known
loader.c:126: storage size of `now' isn't known
loader.c:139: warning: implicit declaration of function `gettimeofday'
loader.c:143: warning: implicit declaration of function `usleep'
loader.c:126: warning: unused variable `now'
loader.c:126: warning: unused variable `timeout'
loader.c: In function `sigio_handler':
loader.c:165: storage size of `last' isn't known
loader.c:165: storage size of `now' isn't known
loader.c:165: warning: unused variable `now'
loader.c:165: warning: unused variable `last'
loader.c:166: warning: `diff' might be used uninitialized in this
function
loader.c: In function `LNPinit':
loader.c:192: storage size of `timeout' isn't known
loader.c:192: storage size of `now' isn't known
loader.c:224: warning: implicit declaration of function `getpid'
loader.c:192: warning: unused variable `now'
loader.c:192: warning: unused variable `timeout'
loader.c:193: warning: `diff' might be used uninitialized in this
function
loader.c: In function `main':
loader.c:273: warning: passing arg 4 of `getopt_long' discards `const'
from poin
ter target type
make: *** [loader.o] Error 1
bash-2.02$
-----

Can anyone help me?

Thanks,
Jonathan



Message has 1 Reply:
  Re: Hapless WinNT user
 
I'm afraid these are the same errors that were reported with 0.2.1. It would appear that it is looking at a very long and convoluted path which happens to include the standard gcc, not just the cross-compiler. But that is just a guess based on a (...) (25 years ago, 8-Nov-99, to lugnet.robotics.rcx.legos)

4 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR