make install problem with i2c package

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

 



Hi John:

* John Palsedge <palsedgj at colorado.net> [2004-03-14 08:58:39 -0700]:
> System: Red Hat 7.2,  2.4.7-10 kernel
> download: i2c-2.7.0.tar.gz
> 
> Makefile: default (include files -> /usr/local/include)
> 
> compile seemed to go OK.
> 
> make install (ran as root) failed with messages:
> 
> grep: /lib/modules/2.4.7-10/build/.config: No such file or directory     
>     (true)
> Note: /lib/modules/2.4.7-10/build ->  ../../../usr/src/linux-2.4.7-10/, 
> contents of which are
> 
> abi/      CREDITS         include/  lib/         net/            scripts/
> arch/     Documentation/  init/     MAINTAINERS  README
> configs/  drivers/        ipc/      Makefile     REPORTING-BUGS
> COPYING   fs/             kernel/   mm/          Rules.make
> 
> contents of configs is
> 
> kernel-2.4.7-athlon.config      kernel-2.4.7-i586-smp.config
> kernel-2.4.7-athlon-smp.config  kernel-2.4.7-i686.config
> kernel-2.4.7-i386-BOOT.config   kernel-2.4.7-i686-debug.config
> kernel-2.4.7-i386.config        kernel-2.4.7-i686-enterprise.config
> kernel-2.4.7-i386-smp.con

<snip>

Pick one of these, as appropriate to your system, and copy it to
/usr/src/linux-2.4/.config

Then "make clean" in both i2c and lm_sensors2.  Now the build and
install should proceed ok.

Regards,

-- 
Mark M. Hoffman
mhoffman at lightlink.com



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

  Powered by Linux