bug-fdisk
[Top][All Lists]
Advanced

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

[bug-fdisk] compile error in fdisk-1.2.3


From: Michael
Subject: [bug-fdisk] compile error in fdisk-1.2.3
Date: Thu, 31 Dec 2009 15:26:02 +0100
User-agent: KMail/1.12.90 (Linux/2.6.32-rc8; KDE/4.3.70; i686; svn-1031635; 2009-10-05)

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
-- 
"Eine Frau wird umso begehrenswerter, je stärker die Natur in ihr entfaltet 
und je nachdrücklicher sie in ihr gebändigt erscheint."
                                                Simone de Beauvoir

Duisburger Linux User Group
Fellow der Free Software Foundation Europe

  /"\        ASCII Ribbon Campaign
  \ /        No HTML/RTF in email
   x         No Word docs in email
  / \        Respect for open standards




reply via email to

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