|
On Thu, 18 Nov 1999, michael yates wrote:
> Hi all,
> I think we have finally gotten a cross compiler built for Solaris. I am still
> not 100% sure. I will not say that we have until I have seen a robot driving
> around the table which has a program written in legOS and downloaded in it.
> However at the moment my current problem is this
>
> -------------- dump of Solaris session -----------
> frost-util: cd dll-src/
> frost-dll-src: ls
> CVS convert.c lnp.c lx.h srec.c srecload.h
> Makefile keepalive.c loader.c rcxtty.c srec.h
> config.h keepalive.h lx.c rcxtty.h srecload.c
> frost-dll-src: gmake
> gcc -o loader.o -c loader.c -O2 -Wall -I/usr/include -I. -I../../include
> loader.c:34: getopt.h: No such file or directory
> gmake: *** [loader.o] Error
>
> ------------- end dump of session ----------
>
> As you can see I am in the dll-src directory which is inside the util direcoty
> which is inside the main legOS directory. I have been going through and
> compiling each directory by hand to see what sort of error messages are being
> produced. Anyhow inside the "dll-src" directory I can not see any file called
> getopt.h, is it necessary? Where should it be located? Is it a legOS header
> file or is it a header from somewhere else (I am quite the newbie to all this
> so please excuse that if it is a stupid question).
getopt.h is part of the standard gnu C libraries. In a normal Linux
system, it is in /usr/include/. What compiler are you using on Solaris?
Is it gcc or something else? If it's gcc, then it should be there. IF you
are not using gcc, then there must be a way to build and include outside
files. I'm not sure what that is- you'll have to figure it out. In the
meantime, you can find getopt.h and getopt.c in the copy of egcs that
you've downloaded in the egcs-1.1.2/gcc/ directory.
> Anyhow the other sub-dirs of
> legOS seem to compile fine. If I can get this one compiled then I should have a
> running system and another platform (Solaris) will be added to the legOS
> community (I haven't read anyone else with a build running on solaris yet).
Woohoo! What version of Solaris are you using? Is it for i386 or Sparc?
Also, what versions of egcs and binutils are you using? Curious (having
tried and given up before.)
> So any help GREATLY appreciated.
Your effort is also greatly appreciated.
-Luis
> thanks
> michael
>
>
#######################################################################
Profanity is the one language that all programmers understand.
-Anonymous
#######################################################################
|
|
Message is in Reply To:
| | compiling legOS
|
| Hi all, I think we have finally gotten a cross compiler built for Solaris. I am still not 100% sure. I will not say that we have until I have seen a robot driving around the table which has a program written in legOS and downloaded in it. However at (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|