bug-fdisk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-fdisk] compile error in fdisk-1.2.3


From: Christian
Subject: Re: [bug-fdisk] compile error in fdisk-1.2.3
Date: Sat, 02 Jan 2010 22:46:19 +0100

Il giorno gio, 31/12/2009 alle 15.26 +0100, Michael ha scritto:
> Hello!
> 
> I try to compile fdisk on a recent build with gcc 4.4.2 and get the following 
> error. I tried to patch src/ui.c myself. But my C knowledge isnt good enough. 
> 
> ccache gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -
> I../lib -I../lib   -g -O2 -D_FILE_OFFSET_BITS=64 -MT hacks.o -MD -MP -MF 
> .deps/hacks.Tpo -c -o hacks.o hacks.c
> mv -f .deps/hacks.Tpo .deps/hacks.Po
> ccache gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -
> I../lib -I../lib   -g -O2 -D_FILE_OFFSET_BITS=64 -MT strlist.o -MD -MP -MF 
> .deps/strlist.Tpo -c -o strlist.o strlist.c
> strlist.c: In function 'str_list_destroy_node':
> strlist.c:237: warning: passing argument 1 of 'free' discards qualifiers from 
> pointer target type
> /usr/include/stdlib.h:488: note: expected 'void *' but argument is of type 
> 'const wchar_t *'
> mv -f .deps/strlist.Tpo .deps/strlist.Po
> ccache gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -
> I../lib -I../lib   -g -O2 -D_FILE_OFFSET_BITS=64 -MT ui.o -MD -MP -MF 
> .deps/ui.Tpo -c -o ui.o ui.c
> distcc[22562] ERROR: compile /root/.ccache/ui.tmp.eileen.22558.i on localhost 
> failed
> ui.c: In function 'fdisk_init_ui':
> ui.c:1457: error: 'fdisk_complete_function' undeclared (first use in this 
> function)
> ui.c:1457: error: (Each undeclared identifier is reported only once
> ui.c:1457: error: for each function it appears in.)
> make[2]: *** [ui.o] Error 1
> make[2]: Leaving directory `/sources/fdisk-1.2.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/fdisk-1.2.3'
> make: *** [all] Error 2
> 
> By the way there is no german translation. I can provide this if you want? 
> Will take a while but im willing to do it.
> 
> Greetings Michael

Hi Michael, thanks for your bug report.

I think that this error depends on a configuration problem,
probably relative to the `termcap' and `readline' libraries.
We will try to solve this problem and release a patch as soon as
possible.

As for the file containing the translation into German I don't think
there are problems, contributions and contributors are always welcome!:)
Take all the time you need, when ready you can send the file to this
mail list so we can pack it with a release.

Many thanks!

  Christian.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]