Subject:
|
Re: Unable to compile helloworld.c
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 5 Nov 2001 16:30:24 GMT
|
Viewed:
|
1590 times
|
| |
| |
In lugnet.robotics.rcx.legos, Rajendra Kumar Penugonda writes:
> In file included from helloworld.c:1
> /usr/lib/legOS/include/conio.h:41:config.h:No such file or directory
> In file included from /usr/lib/legOS/include/unistd.h:30,from
> helloworld.c:2:
> /usr/lib/legOS/include/time.h:32:config.h:No such file or directory
> helloworld.c:10:arguments given to macro 'cls'
> make:*** [helloworld.o]Error 1
>
> I looked up for conio.h and time.h and they are there in the 'include'
> directory and config.h is in the 'boot' directory under 'legOS'.
The error messages state that helloworld includes conio.h which tries in line
41 to include config.h. Helloworld includes unistd.h which includes time.h
which tries in line 32 to include config.h. So, conio.h, unistd.h and time.h
are found, config.h isn't. Possible reason: Wrong path in KERNEL in the
makefile. Check the -I parameters in the compiler call from the makefile.
Hmmm, thinking why you put legOS under /usr/lib and not into your homedir...?
Might be a problem, too, but I'm not sure.
Bye,
Mike
|
|
Message is in Reply To:
| | Re: Unable to compile helloworld.c
|
| Mike, I made the changes in the Makefile by removing rover.lx and others.I didn't have to change the path of KERNEL or other Makefile files as the Project directory is in legOS directory.This time when I tried make helloworld.lx, I get the following (...) (23 years ago, 5-Nov-01, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|