Re: ulogd - rpm file generation

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

 



On Friday 2012-07-20 01:29, Mr Dash Four wrote:

>> libnetfilter_acct.c: In function 'nfacct_nlmsg_build_payload':
>> libnetfilter_acct.c:348: warning: implicit declaration of function 'htobe64'
>>
>> and htobe64(3) says htobe64 is available starting glibc-2.9.
>> Additionally,
>>
>> ../include/linux/netfilter/nfnetlink.h:4:46: error:
>> linux/netfilter/nfnetlink_compat.h: No such file or directory
>>
>> so it also requires linux-glibc-devel >= 2.6.24, which RHEL5 also
>> does not have.
>>  
> OK, lets have it then, shall we?
>
> [mockbuild@test1 ~]$ rpm -ivh libnetfilter_acct-1.0.1-0.fc13.src.rpm
>  1:libnetfilter_acct      ########################################### [100%]
> [mockbuild@test1 ~]$ cd build/SPECS/
> [mockbuild@test1 SPECS]$
> [mockbuild@test1 SPECS]$ rpmbuild -bb libnetfilter_acct.spec
>
> [...lots of output skipped, but could be provided on Mr Engelhardt's request]
>
> Processing files: libnetfilter_acct-1.0.1-0.fc13.x86_64

No idea what you patched in the package, or otherwise did to your
system. On a pure Centos 5.8. I did *NOT* talk about fc13.

make[2]: Entering directory `/root/libnetfilter_acct-1.0.0/src'
  CC     libnetfilter_acct.lo
In file included from libnetfilter_acct.c:18:
../include/linux/netfilter/nfnetlink.h:4:46: error:
linux/netfilter/nfnetlink_compat.h: No such file or directory
libnetfilter_acct.c: In function 'nfacct_nlmsg_build_payload':
libnetfilter_acct.c:348: warning: implicit declaration of function 'htobe64'
libnetfilter_acct.c: In function 'nfacct_nlmsg_parse_payload':
libnetfilter_acct.c:408: warning: implicit declaration of function 'be64toh'
make[2]: *** [libnetfilter_acct.lo] Error 1
make[2]: Leaving directory `/root/libnetfilter_acct-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/libnetfilter_acct-1.0.0'
make: *** [all] Error 2
[root@vjng-centos5 libnetfilter_acct-1.0.0]# rpm -q glibc kernel-headers
glibc-2.5-81.el5_8.4
glibc-2.5-81.el5_8.4
kernel-headers-2.6.18-308.11.1.el5
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux