[parted-devel] parted 1.80rc1 not compiling

rohit hooda rohit13hoodaait at yahoo.co.in
Sat Sep 16 16:19:59 UTC 2006


Hi All, 

I am getting the following error while building the
source for parted 1.8.0rc1.

....
....
(cd .libs && rm -f libfs.la && ln -s ../libfs.la
libfs.la)
make[4]: Leaving directory
`/usr/src/parted_1.8/libparted/fs'
make[3]: Leaving directory
`/usr/src/parted_1.8/libparted/fs'
make[3]: Entering directory
`/usr/src/parted_1.8/libparted'
Makefile:379: warning: overriding commands for target
`linux.lo'
Makefile:372: warning: ignoring old commands for
target `linux.lo'

....
....
if /bin/sh ../libtool --mode=compile --tag=CC gcc
-DHAVE_CONFIG_H -I. -I. -I.. -I../include    
-D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLOCALEDIR="\"/usr/local/share/locale\""
-DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall
-Wno-unused -Wno-switch -Wno-format -Werror -MT
linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo
`test -f 'arch/linux.c' || echo './'`arch/linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else
rm -f ".deps/linux.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall
-Wno-unused -Wno-switch -Wno-format -Werror -MT
linux.lo -MD -MP -MF .deps/linux.Tpo -c arch/linux.c 
-fPIC -DPIC -o .libs/linux.o
arch/linux.c: In function `linux_read':
arch/linux.c:1343: warning: implicit declaration of
function `posix_memalign'
make[3]: *** [linux.lo] Error 1
make[3]: Leaving directory
`/usr/src/parted_1.8/libparted'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/parted_1.8/libparted'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/parted_1.8'
make: *** [all] Error 2

I am not able to figure it out. 

Can anyone point out the root cause for this.

Regards,
-Rohit


		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/



More information about the parted-devel mailing list