Opened 8 weeks ago

#70757 assigned defect

crack-attack fails to build: error: ‘const gchar* wait’ redeclared as different kind of symbol

Reported by: barracuda156 Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: crack-attack

Description

ccache /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../src -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -DNDEBUG -DDATA_DIRECTORY='"/opt/local/share/crack-attack/"' -DPACKAGE_DATA_DIR=\""/opt/local/share"\" -DPACKAGE_LOCALE_DIR=\""/opt/local//locale"\" -DBINARY_DIRECTORY='"/opt/local/bin"'  -I/opt/local/include  -pipe -Os -arch ppc -MT modeparser.o -MD -MP -MF .deps/modeparser.Tpo -c -o modeparser.o modeparser.cxx
modeparser.cxx:37: error: ‘const gchar* wait’ redeclared as different kind of symbol
/usr/include/sys/wait.h:255: error: previous declaration of ‘pid_t wait(int*)’
modeparser.cxx: In function ‘gchar** generate_array(int, const gchar*, GtkWidget*)’:
modeparser.cxx:81: error: cannot convert ‘pid_t ()(int*)’ to ‘const gchar*’ in assignment
make[3]: *** [modeparser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/support.Tpo .deps/support.Po
mv -f .deps/interface.Tpo .deps/interface.Po
In file included from ../glext.h:27,
                 from gui_main.cxx:38:
/opt/local/include/GL/glext.h:54:1: warning: "GL_GLEXT_VERSION" redefined
In file included from /System/Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
                 from /opt/local/include/GL/freeglut_std.h:144,
                 from /opt/local/include/GL/glut.h:17,
                 from gui_main.cxx:27:
/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:297:1: warning: this is the location of the previous definition
mv -f .deps/gui_main.Tpo .deps/gui_main.Po
callbacks.cxx: In function ‘void ca_error_dialog(const char*)’:
callbacks.cxx:116: warning: format not a string literal and no format arguments
callbacks.cxx: In function ‘gboolean networking_output(GIOChannel*, GIOCondition, void*)’:
callbacks.cxx:163: warning: format not a string literal and no format arguments
mv -f .deps/callbacks.Tpo .deps/callbacks.Po
In file included from ../glext.h:27,
                 from ../TextureLoader.h:32,
                 from persist.cxx:25:
/opt/local/include/GL/glext.h:54:1: warning: "GL_GLEXT_VERSION" redefined
In file included from /System/Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
                 from /opt/local/include/GL/freeglut_std.h:144,
                 from /opt/local/include/GL/glut.h:17,
                 from ../TextureLoader.h:30,
                 from persist.cxx:25:
/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:297:1: warning: this is the location of the previous definition
mv -f .deps/persist.Tpo .deps/persist.Po
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_crack-attack/crack-attack/work/crack-attack-1.1.14/src/gtk-gui'
make[2]: *** [all-recursive] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.