Sergey Bugaev, le mar. 05 nov. 2024 16:27:04 +0300, a ecrit:
> On Sun, Nov 3, 2024 at 11:19 AM Zhaoming Luo <zhaoming1...@qq.com> wrote:
> > >> +import "rtc.h";
> > > This would only work when the generated C file is built in the rtc/ of
> > > the Hurd source tree, right? Perhaps this should be <hurd/rtc/rtc.h>?
> > It makes sense, and I have corrected it. However, then the compilation
> > will fail with:
> > ```
> > make[2]: *** No rule to make target 'hurd/rtc/rtc.h', needed by
> > 'main.o'.  Stop.
> > ```
> > If I want to fix it. Do I need to modify $(hurd)/rtc/Makefile or add
> > hurd/rtc/rtc.h into hurd-dev package?
> 
> Uhh. I actually have very little idea how to do this properly.
> 
> For one thing it should probably be just <hurd/rtc.h> rather than
> <hurd/rtc/rtc.h>?

Yes, that'll possibly fix the issues Zhaoming is having.

Samuel

Reply via email to