Hello all.

In my attempt to build my first desktop environment (xfce) I came across
a build failure in parted-3.2:

[...]

CC       table.o
AR       libver.a
CCLD     parted
/usr/bin/ld: ../libparted/.libs/libparted.so: undefined reference to `major'
/usr/bin/ld: ../libparted/.libs/libparted.so: undefined reference to `minor'
collect2: error: ld returned 1 exit status

[...]

The fix is rather simple:

sed -i '/assert.h/a#include <sys\/sysmacros.h>' libparted/arch/linux.c

Regards,

Ryan

--
Ryan Marsaw
rmar...@personainternet.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to