You're missing some header files--I think /usr/include/asm should link
over to your kernel sources or kernel headers. Check to be sure you
have those installed.
CHAU Man-Hau wrote:
> I downloaded the source rpm squid-2.3.STABLE4-10.6.2.src.rpm for RedHat
> 6.2,
> while I was compiling the rpm with the spec file:
> "rpm -bb /usr/src/redhat/SPECS/squid.spec"
>
> there was error message, last part of it is:
> -------------- >8 --------------------
> /usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
> make[1]: *** [rfc1123.o] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/squid-2.3.STABLE4/lib'
> make: *** [all] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.13308 (%build)
> -------------- >8 --------------------
>
> Are there some packages missing?
> It's quite strange to me, as I've compiled quite many versions of Squid
> from source RPM for different ver. of RedHat(6.1,6.2,7.1) before and
> never failed ...
>
> Any idea ? Thanks for your attention !
>
> Regards,
> Dee.
-- Joe Cooper <joe@swelltech.com> http://www.swelltech.com Web Caching Appliances and SupportReceived on Thu Jan 03 2002 - 19:09:48 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:37 MST