|
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 quick glance. I'll try to set things up
again on NT tomorrow and report my results tomorrow, and perhaps post a
new gcc binary.
-Luis
On Mon, 8 Nov 1999, Jonathan Knudsen wrote:
> 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
>
>
#######################################################################
Profanity is the one language that all programmers understand.
-Anonymous
#######################################################################
|
|
Message has 1 Reply: | | Re: Hapless WinNT user
|
| Apparently, standard gcc include files are processed as well. This should never happen, as legOS defines everything on its own. Maybe there's an additional command-line switch for that? -Y or something? Good luck, Luis - I have access to a NT box in (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Hapless WinNT user
|
| 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 (...) (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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|