﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2318	cannot compile kdelibs-3.5.6 with cups-1.2.7	Arthur Demchenkov	blfs-book@…	"Hello.[[BR]]
There are some issues in ''kdelibs-3.5.6''[[BR]]
I've got ''cups-1.2.7'' (it's current version in the book).[[BR]]
When I tried to compile kdelibs-3.5.6 I've got these errors:
{{{
kdelibs-3.5.6/kdeprint/cups/cupsdconf2/cups-util.c:445: error: request for member 'sin_addr' in something not a structure or union
}}}
After some investigation I changed ''kdelibs-3.5.6/kdeprint/cups/cupsdconf2/cups-util.c:445'' [[BR]]
'''from'''
{{{
if (ntohl(http->hostaddr.sin_addr.s_addr) != 0x7f000001 &&
}}}
'''to'''
{{{
if (ntohl(http->hostaddr->ipv4.sin_addr.s_addr) != 0x7f000001 &&
}}}
After trying ""''make''"" again I got this:
{{{
kdelibs-3.5.6/kdeprint/cups/ipprequest.cpp:521: error: '_ipp_free_attr' was not declared in this scope
}}}

When I do it with ''--disable-cups'' everything looks OK.[[BR]]
Is it a bug in the book?


P.S. My gcc version is 4.0.3"	defect	closed	high		BOOK	SVN	medium	worksforme		
