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 / 487
486  |  488
Subject: 
compiling legOS
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 18 Nov 1999 14:53:54 GMT
Viewed: 
1925 times
  
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). 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).

So any help GREATLY appreciated.

thanks
michael



Message has 1 Reply:
  Re: compiling legOS
 
(...) 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 (...) (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
    

Custom Search

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