On 10/16/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
>
> I think I might see the problem. I'm not sure this is an issue with
> linux-libc-headers (probably not since no one's complained before).
> __s64 is defined in asm/types.h and linux/types.h if __STRICT_ANSI__
> is not defined. Kopete is being compiled with the -ansi switch to gcc,
> which sets this. Try compiling without -ansi. I'm not sure how to do
> this on Qt/KDE packages. Maybe there's a configure switch that sets
> this. I'm not really familiar with those guys. Try ./configure --help
> | grep -i ansi
I'm pretty sure this is the problem. linux-headers-2.6.19 might have
this fixed, but I don't see it in git yet. See this mailing post
(specifically identifies kopete):
http://www.ussg.iu.edu/hypermail/linux/kernel/0609.3/1418.html
Here's a quick workaround from gcc(1) if you can't figure out how to
turn off -ansi. Add "-std=gnu++98" to CFLAGS or CXXFLAGS. This will
(should?) restore the default standard for compiling C++ with gcc if
it comes later in the command line.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page