#2318: cannot compile kdelibs-3.5.6 with cups-1.2.7 --------------------+------------------------------------------------------- Reporter: Spinal | Owner: [email protected] Type: defect | Status: new Priority: high | Milestone: 6.2.1 Component: BOOK | Version: SVN Severity: normal | Keywords: --------------------+------------------------------------------------------- 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 -- Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2318> BLFS Trac <http://wiki.linuxfromscratch.org/blfs> Beyond Linux From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
