[parted-devel] parted 1.80rc1 not compiling
rohit hooda
rohit13hoodaait at yahoo.co.in
Sun Sep 17 20:24:51 UTC 2006
--- David Cantrell <dcantrell at redhat.com> wrote:
> rohit hooda wrote:
> > --- rohit hooda <rohit13hoodaait at yahoo.co.in>
> wrote:
> >
> >> --- David Cantrell <dcantrell at redhat.com> wrote:
> >>
> >>> rohit hooda wrote:
> >>>> 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.
> >>> Can you tell me the exact commands you used to
> >>> compile the source? The
> >>> arguments to ./configure, any variables passed
> to
> >>> make, and so on?
> >> no arguments to ./configure nor make
> >> 1) ./configure
> >> 2) make
> >>
> >> then i also tried
> >> 1) CFLAGS=-Os ./configure
> >> 2) make
> >>
> >> still the same error message.
> > Some more info ... this will give you a clear
> picture
> >
> > 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 -Os
> > -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 -Os
> > -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
>
> Can you capture stdout and stderr to one file and
> send me the results?
>
> ./configure
> make 2>&1 | tee parted.log
>
> Send me parted.log
Please find them attached.
Thanks,
Rohit
>
> Thanks,
>
> --
> David Cantrell
> Red Hat / Westford, MA
>
> _______________________________________________
> parted-devel mailing list
> parted-devel at lists.alioth.debian.org
>
http://lists.alioth.debian.org/mailman/listinfo/parted-devel
>
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_parted.log
Type: application/octet-stream
Size: 8164 bytes
Desc: 1669040211-configure_parted.log
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20060917/4fbc6167/configure_parted-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parted.log
Type: application/octet-stream
Size: 85493 bytes
Desc: 2229188271-parted.log
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20060917/4fbc6167/parted-0001.obj
More information about the parted-devel
mailing list