Gmane
Picon Favicon
From: Daniel Schepler <schepler <at> math.berkeley.edu>
Subject: Bug#238629: kali: FTBFS: Redeclaration of wchar_t
Newsgroups: gmane.linux.debian.devel.bugs.rc
Date: 2004-03-18 02:30:48 GMT (5 years, 46 weeks, 6 days, 17 hours and 22 minutes ago)
Package: kali
Severity: serious
Version: 3.1-4

From my build log:

...
cc -DXFORM -O2 -g -Wall -I/usr/include/X11    -c -o callbacks.o callbacks.c
In file included from /usr/include/X11/forms.h:1762,
                 from callbacks.c:80:
/usr/include/X11/Xlib.h:78: error: conflicting types for `wchar_t'
/usr/lib/gcc-lib/i486-linux/3.3.3/include/stddef.h:325: error: previous declaration of `wchar_t'
callbacks.c: In function `forms_init':
callbacks.c:181: warning: implicit declaration of function `winset'
callbacks.c:182: warning: implicit declaration of function `winconstraints'
callbacks.c: In function `SymmetryProc':
callbacks.c:225: warning: implicit declaration of function `scheduleRedraw'
callbacks.c: In function `PrintProc':
callbacks.c:361: warning: passing arg 2 of `fl_show_question' makes integer from pointer without a cast
make[1]: *** [callbacks.o] Error 1
make[1]: Leaving directory `/tmp/buildd/kali-3.1'
make: *** [build-stamp] Error 2

Looking at Xlib.h, it appears that the wchar_t definition normally
shouldn't be included, so my first guess would be that something is
confusing the X headers somehow.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.3
Locale: LANG=en, LC_CTYPE=en (ignored: LC_ALL set to en_US.UTF-8)

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler <at> math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card