make fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Jul 2003 16:47:29 +0200
Jean Delvare <khali at linux-fr.org> wrote:

> 
> > > But I could be wrong. I would like you to try to compile some other
> > > program that uses stdlib.h. 
> >
> > What program would that be? I do know of any on the top of my mind.
> 
> Try the attached file. Compile with "gcc -Wall -W test-zeno.c -o
> test-zeno". Tell us if it fails or not.
Does not fail, compiles great.

> 
> > Well, as I just said I recompiled my kernel before and I got no error
> > compiling it.
> 
> That's different. The kernel, as i2c and the modules of lm_sensors, are
> kernel-space code. They use completely different headers. That's why i2c
> and the first half of lm_sensors could compile, while the second part of
> lm_sensors couldn't.
> 
> > The last lines are:
> > 
> > gcc -I. -Ikernel/include -I/usr/local/include
> > -I/lib/modules/2.4.21-ben2/build/include  -Wall -O2
> > -c lib/data.c -o lib/data.ao
> > In file included from lib/data.c:20:
> > /usr/include/stdlib.h:445: error: parse error before "int32_t"
> > /usr/include/stdlib.h:447: error: parse error before '*' token
> > /usr/include/stdlib.h:451: error: parse error before '*' token
> > /usr/include/stdlib.h:452: error: parse error before '}' token
> > /usr/include/stdlib.h:455: error: parse error before "int32_t"
> > make: *** [lib/data.ao] Fehler 1
> > 
> > Let me know if you need anything more.
> 
> Could you try the following (from the root of the lm_sensors package,
> where you would run "make"). Basically, the command that fails is:
>   gcc -I. -Ikernel/include -I/usr/local/include
> -I/lib/modules/2.4.21-ben2/build/include -Wall -O2 -c lib/data.c -o
> lib/data.ao
> I would like you to try removing each -I parameter, in turn, or switch
> their order in any possible combination. If it is an include order
> problem, one of these should work. That's just a wild guess anyway, it
> may not work at all. We are not used to PPC systems...
Sorry, please tell me how to remove the -I parameter.

Thanks for your time and help.

Zeno



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux