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 / 2033
2032  |  2034
Subject: 
Re: Why compiler can't find header file program.h?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 5 Sep 2001 04:59:14 GMT
Viewed: 
4098 times
  
I found the reason, there are two config.h, one is for kernel in boot
directory, one is for dll in dll-src, they have different definition.

Zhengrong

In lugnet.robotics.rcx.legos, Zhengrong Zang writes:
> I add lines as below into lnp.c
> #ifdef CONF_PROGRAM
> #include <sys/program.h>
> #endif
> 
> But I got error message when compile it.
> lnp.c:36: sys/program.h: No such file or directory
> 
> In some lnp.c file, there are
> #ifdef CONF_VIS
> #include <dlcd.h>
> #include <sys/lcd.h>
> #endif
> 
> The sys/lcd.h is in the same directory with sys/program.h, I don't know why
> program.h can't be found. what can I do?
> 
> Zhengrong



Message is in Reply To:
  Why compiler can't find header file program.h?
 
I add lines as below into lnp.c #ifdef CONF_PROGRAM #include <sys/program.h> #endif But I got error message when compile it. lnp.c:36: sys/program.h: No such file or directory In some lnp.c file, there are #ifdef CONF_VIS #include <dlcd.h> #include (...) (25 years ago, 5-Sep-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
    

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