trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: July 2012

Re: [trinity-devel] kima - ftbfs - error: 'list' in namespace 'std' does not name a type

From: Darrell Anderson <humanreadable@...>
Date: Mon, 16 Jul 2012 08:44:49 -0700 (PDT)
>   This is the last of the 'used-to-build-but-fails-now'
> list. kima built fine on 6/5, but not won't build. It looks like some c++ namespace
> semantic that needs fixing in the kima header for gcc 4.7.1. The error is:
> 
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I..
> -I../src/cpufreqd
> -I../src/sources -I/opt/trinity/include -I/opt/tqt3/include
> -I. -include tqt.h
> -DQT_THREAD_SUPPORT -D_REENTRANT
> -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wchar-subscripts -Wall -W
> -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64
> -mtune=generic -O2
> -pipe -fstack-protector --param=ssp-buffer-size=4
> -D_FORTIFY_SOURCE=2
> -fpermissive -Wformat-security -Wmissing-format-attribute
> -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common
> -I/usr/include/tqt -MT kima.moc.lo
> -MD -MP -MF .deps/kima.moc.Tpo -c kima.moc.cpp  -fPIC
> -DPIC -o .libs/kima.moc.o
> In file included from kima.moc.cpp:9:0:
> ./kima.h:177:24: error: 'list' in namespace 'std' does not
> name a type
> ./kima.h:177:29: warning: ISO C++ forbids declaration of
> 'parameter' with no
> type [-fpermissive]
> ./kima.h:177:33: error: expected ',' or '...' before '<'
> token
> 
>   Any of you gurus know what needs fixing at line 177.
> I'll do the patch, I just need to know how to fix it :)

I don't know how to fix. :-(

On the other hand, I ran a Slackware 14 32-bit build set during last night. kima built without error.

Regarding other list messages: kdmtheme, kchmviewer, krusader also built without error. I don't bother building kstreamripper because that app is in bad shape all around and needs intensive care. Refer to bug report 946 and add your build failures to the report.

There have been massive updates of late to Slackware 14, which means Arch and Slackware 14 probably are very close now to package content. Slackware 14 includes gcc 4.7.1, glibc 2.15, glib2 2.32.3, X11 7.4, and xorg-server 1.12.3.

I am not using any build tricks, such as using fpermissive. I'm building everything against TQt3.

I plan to run a full Slackware 14 64-bit build set tonight.

By the way, Slackware 14 will not include libpng 1.5. Pat V. considers the version unstable.

Darrell