Bug 160975 - sys-fs/hfsplusutils-1.0.4-r1 compile failure w/ 2.6.19 kernel
Bug#: 160975 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ppc@gentoo.org Reported By: ed@catmur.co.uk
Component: Applications
URL: 
Summary: sys-fs/hfsplusutils-1.0.4-r1 compile failure w/ 2.6.19 kernel
Keywords:  
Status Whiteboard: 
Opened: 2007-01-08 19:58 0000
Description:   Opened: 2007-01-08 19:58 0000
On x86, linux 2.6.19.

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -MT os.lo -MD -MP
-MF .deps/os.Tpo -c os.c -o os.o >/dev/null 2>&1
mv -f .deps/os.Tpo .deps/os.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I../..     -O2 -Wall -MT record.lo -MD -MP -MF
.deps/record.Tpo -c -o record.lo record.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -MT unicode.lo -MD
-MP -MF .deps/unicode.Tpo -c unicode.c  -fPIC -DPIC -o .libs/unicode.o
unicode.c:19:26: error: linux/string.h: No such file or directory
distcc[3659] ERROR: compile unicode.c on localhost failed
make[3]: *** [unicode.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Simply removing the #include seems to work.

------- Comment #1 From Ed Catmur 2007-01-08 20:03:43 0000 -------
Created an attachment (id=106101) [details]
no-include-linux-string.h.patch

Suggested patch.

------- Comment #2 From Joe Jezak 2007-01-08 22:21:53 0000 -------
Thanks for reporting this, fixed in CVS.

------- Comment #3 From Joe Jezak 2007-01-08 22:23:49 0000 -------
Whoops, forgot to close the bug, sorry for the bugspam. :p