Bugs item #1822984, was opened at 2007-10-30 19:29
Message generated for change (Settings changed) made by mkanet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1822984&group_id=93438
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Linux
>Status: Deleted
Resolution: None
Priority: 5
Private: No
Submitted By: Markus (mkanet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Inkscape broken on glib-2.14.2 and gcc-3.3.6
Initial Comment:
glib2-2.14.2 has updated 'glib-genmarshal' which is used to create 'src/helper/sp-marshal.cpp'. The new version now includes "G_GNUC_UNUSED" after glib-marshal has been called. This will break the build on GCC 3.3.x. Using 3.4.x build of Inkscape 0.45.1 works.
Currently me is using this patch on gcc 3.3.x to fix the build of inkscape if glib-2.14.2 is installed.
*****************************************************
--- inkscape-0.45.1.orig/src/Makefile.in
+++ inkscape-0.45.1.patched/src/Makefile.in
@@ -17175,7 +17175,8 @@
( echo '#include "helper/sp-marshal.h"' && \
glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
> helper/tmp.$$$$ \
- && mv helper/tmp.$$$$ helper/sp-marshal.cpp
+ && mv helper/tmp.$$$$ helper/sp-marshal.cpp \
+ && sed -i "s/G_GNUC_UNUSED,/,/g" helper/sp-marshal.cpp
helper/sp-marshal.cpp helper/sp-marshal.h: Makefile
--- inkscape-0.45.1.orig/src/helper/Makefile_insert
+++ inkscape-0.45.1.patched/src/helper/Makefile_insert
@@ -43,7 +43,8 @@
( echo '#include "helper/sp-marshal.h"' && \
glib-genmarshal --prefix=sp_marshal --body $(srcdir)/helper/sp-marshal.list ) \
> helper/tmp.$$$$ \
- && mv helper/tmp.$$$$ helper/sp-marshal.cpp
+ && mv helper/tmp.$$$$ helper/sp-marshal.cpp \
+ && sed -i "s/G_GNUC_UNUSED,/,/g" helper/sp-marshal.cpp
helper/sp-marshal.cpp helper/sp-marshal.h: Makefile
*****************************************************
This is the output of glib-genmarshal from 2.14.2:
-----
sp_marshal_VOID__POINTER_BOOLEAN (GClosure *closure,
GValue *return_value G_GNUC_UNUSED,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
-----
This is the output of glib-genmarshal from 2.14.1:
-----
sp_marshal_VOID__POINTER_BOOLEAN (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data)
-----
Here is some output of the make logfile:
glib-genmarshal --prefix=sp_marshal --header ./helper/sp-marshal.list > helper/tmp.$$ \
&& mv helper/tmp.$$ helper/sp-marshal.h
...
...
( echo '#include "helper/sp-marshal.h"' && \
glib-genmarshal --prefix=sp_marshal --body ./helper/sp-marshal.list ) \
> helper/tmp.$$ \
&& mv helper/tmp.$$ helper/sp-marshal.cpp
...
...
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include -DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I../cxxtest -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O2 -march=i486 -mcpu=i686 -MT helper/sp-marshal.o -MD -MP -MF "helper/.deps/sp-marshal.Tpo" \
-c -o helper/sp-marshal.o `test -f 'helper/sp-marshal.cpp' || echo './'`helper/sp-marshal.cpp; \
then mv -f "helper/.deps/sp-marshal.Tpo" "helper/.deps/sp-marshal.Po"; \
else rm -f "helper/.deps/sp-marshal.Tpo"; exit 1; \
fi
helper/sp-marshal.cpp:60: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_VOID__POINTER_BOOLEAN(...)
':
helper/sp-marshal.cpp:70: error: syntax error before `;' token
helper/sp-marshal.cpp:71: error: `closure' undeclared (first use this function)
helper/sp-marshal.cpp:71: error: (Each undeclared identifier is reported only
once for each function it appears in.)
helper/sp-marshal.cpp:74: error: syntax error before `if'
helper/sp-marshal.cpp:74: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:74: error: syntax error before `}' token
helper/sp-marshal.cpp:79: error: ISO C++ forbids declaration of `data2' with no
type
helper/sp-marshal.cpp:79: error: conflicting types for `int data2'
helper/sp-marshal.cpp:72: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:79: error: `param_values' undeclared (first use this
function)
helper/sp-marshal.cpp:80: error: syntax error before `}' token
helper/sp-marshal.cpp:84: error: ISO C++ forbids declaration of `data2' with no
type
helper/sp-marshal.cpp:84: error: redefinition of `int data2'
helper/sp-marshal.cpp:79: error: `int data2' previously defined here
helper/sp-marshal.cpp:85: error: syntax error before `}' token
helper/sp-marshal.cpp:86: error: ISO C++ forbids declaration of `callback' with
no type
helper/sp-marshal.cpp:86: error: `GMarshalFunc_VOID__POINTER_BOOLEAN'
undeclared (first use this function)
helper/sp-marshal.cpp:86: error: `marshal_data' undeclared (first use this
function)
helper/sp-marshal.cpp:91: error: ISO C++ forbids declaration of `callback' with
no type
helper/sp-marshal.cpp:91: error: redefinition of `int callback'
helper/sp-marshal.cpp:86: error: `int callback' previously defined here
helper/sp-marshal.cpp:91: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:92: error: syntax error before `}' token
helper/sp-marshal.cpp:97: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_VOID__POINTER_UINT(...)':
helper/sp-marshal.cpp:107: error: syntax error before `;' token
helper/sp-marshal.cpp:108: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:71: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:109: error: redefinition of `void*data1'
helper/sp-marshal.cpp:72: error: `void*data1' previously declared here
helper/sp-marshal.cpp:109: error: type mismatch with previous external decl
helper/sp-marshal.cpp:84: error: previous external decl of `int data2'
helper/sp-marshal.cpp:111: error: syntax error before `if'
helper/sp-marshal.cpp:111: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:111: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:74: error: `int _g_boolean_var_' previously declared here
helper/sp-marshal.cpp:111: error: syntax error before `}' token
helper/sp-marshal.cpp:116: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:116: error: conflicting types for `int data2'
helper/sp-marshal.cpp:109: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:117: error: syntax error before `}' token
helper/sp-marshal.cpp:121: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:121: error: redefinition of `int data2'
helper/sp-marshal.cpp:116: error: `int data2' previously defined here
helper/sp-marshal.cpp:122: error: syntax error before `}' token
helper/sp-marshal.cpp:123: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:123: error: redefinition of `int callback'
helper/sp-marshal.cpp:91: error: `int callback' previously defined here
helper/sp-marshal.cpp:123: error: `GMarshalFunc_VOID__POINTER_UINT' undeclared
(first use this function)
helper/sp-marshal.cpp:128: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:128: error: redefinition of `int callback'
helper/sp-marshal.cpp:123: error: `int callback' previously defined here
helper/sp-marshal.cpp:128: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:129: error: syntax error before `}' token
helper/sp-marshal.cpp:134: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_VOID__POINTER_DOUBLE(...)':
helper/sp-marshal.cpp:144: error: syntax error before `;' token
helper/sp-marshal.cpp:145: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:108: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:146: error: redefinition of `void*data1'
helper/sp-marshal.cpp:109: error: `void*data1' previously declared here
helper/sp-marshal.cpp:146: error: type mismatch with previous external decl
helper/sp-marshal.cpp:121: error: previous external decl of `int data2'
helper/sp-marshal.cpp:148: error: syntax error before `if'
helper/sp-marshal.cpp:148: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:148: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:111: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:148: error: syntax error before `}' token
helper/sp-marshal.cpp:153: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:153: error: conflicting types for `int data2'
helper/sp-marshal.cpp:146: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:154: error: syntax error before `}' token
helper/sp-marshal.cpp:158: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:158: error: redefinition of `int data2'
helper/sp-marshal.cpp:153: error: `int data2' previously defined here
helper/sp-marshal.cpp:159: error: syntax error before `}' token
helper/sp-marshal.cpp:160: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:160: error: redefinition of `int callback'
helper/sp-marshal.cpp:128: error: `int callback' previously defined here
helper/sp-marshal.cpp:160: error: `GMarshalFunc_VOID__POINTER_DOUBLE'
undeclared (first use this function)
helper/sp-marshal.cpp:165: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:165: error: redefinition of `int callback'
helper/sp-marshal.cpp:160: error: `int callback' previously defined here
helper/sp-marshal.cpp:165: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:166: error: syntax error before `}' token
helper/sp-marshal.cpp:171: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_VOID__DOUBLE_DOUBLE(...)':
helper/sp-marshal.cpp:181: error: syntax error before `;' token
helper/sp-marshal.cpp:182: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:145: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:183: error: redefinition of `void*data1'
helper/sp-marshal.cpp:146: error: `void*data1' previously declared here
helper/sp-marshal.cpp:183: error: type mismatch with previous external decl
helper/sp-marshal.cpp:158: error: previous external decl of `int data2'
helper/sp-marshal.cpp:185: error: syntax error before `if'
helper/sp-marshal.cpp:185: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:185: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:148: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:185: error: syntax error before `}' token
helper/sp-marshal.cpp:190: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:190: error: conflicting types for `int data2'
helper/sp-marshal.cpp:183: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:191: error: syntax error before `}' token
helper/sp-marshal.cpp:195: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:195: error: redefinition of `int data2'
helper/sp-marshal.cpp:190: error: `int data2' previously defined here
helper/sp-marshal.cpp:196: error: syntax error before `}' token
helper/sp-marshal.cpp:197: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:197: error: redefinition of `int callback'
helper/sp-marshal.cpp:165: error: `int callback' previously defined here
helper/sp-marshal.cpp:197: error: `GMarshalFunc_VOID__DOUBLE_DOUBLE' undeclared
(first use this function)
helper/sp-marshal.cpp:202: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:202: error: redefinition of `int callback'
helper/sp-marshal.cpp:197: error: `int callback' previously defined here
helper/sp-marshal.cpp:202: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:203: error: syntax error before `}' token
helper/sp-marshal.cpp:208: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_VOID__STRING_BOOLEAN(...)':
helper/sp-marshal.cpp:218: error: syntax error before `;' token
helper/sp-marshal.cpp:219: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:182: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:220: error: redefinition of `void*data1'
helper/sp-marshal.cpp:183: error: `void*data1' previously declared here
helper/sp-marshal.cpp:220: error: type mismatch with previous external decl
helper/sp-marshal.cpp:195: error: previous external decl of `int data2'
helper/sp-marshal.cpp:222: error: syntax error before `if'
helper/sp-marshal.cpp:222: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:222: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:185: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:222: error: syntax error before `}' token
helper/sp-marshal.cpp:227: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:227: error: conflicting types for `int data2'
helper/sp-marshal.cpp:220: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:228: error: syntax error before `}' token
helper/sp-marshal.cpp:232: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:232: error: redefinition of `int data2'
helper/sp-marshal.cpp:227: error: `int data2' previously defined here
helper/sp-marshal.cpp:233: error: syntax error before `}' token
helper/sp-marshal.cpp:234: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:234: error: redefinition of `int callback'
helper/sp-marshal.cpp:202: error: `int callback' previously defined here
helper/sp-marshal.cpp:234: error: `GMarshalFunc_VOID__STRING_BOOLEAN'
undeclared (first use this function)
helper/sp-marshal.cpp:239: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:239: error: redefinition of `int callback'
helper/sp-marshal.cpp:234: error: `int callback' previously defined here
helper/sp-marshal.cpp:239: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:240: error: syntax error before `}' token
helper/sp-marshal.cpp:245: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_BOOLEAN__VOID(...)':
helper/sp-marshal.cpp:253: error: syntax error before `;' token
helper/sp-marshal.cpp:254: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:219: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:255: error: redefinition of `void*data1'
helper/sp-marshal.cpp:220: error: `void*data1' previously declared here
helper/sp-marshal.cpp:255: error: type mismatch with previous external decl
helper/sp-marshal.cpp:232: error: previous external decl of `int data2'
helper/sp-marshal.cpp:258: error: syntax error before `if'
helper/sp-marshal.cpp:258: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:258: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:222: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:258: error: syntax error before `}' token
helper/sp-marshal.cpp:259: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:259: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:258: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:259: error: syntax error before `}' token
helper/sp-marshal.cpp:264: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:264: error: conflicting types for `int data2'
helper/sp-marshal.cpp:255: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:265: error: syntax error before `}' token
helper/sp-marshal.cpp:269: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:269: error: redefinition of `int data2'
helper/sp-marshal.cpp:264: error: `int data2' previously defined here
helper/sp-marshal.cpp:270: error: syntax error before `}' token
helper/sp-marshal.cpp:271: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:271: error: redefinition of `int callback'
helper/sp-marshal.cpp:239: error: `int callback' previously defined here
helper/sp-marshal.cpp:271: error: `GMarshalFunc_BOOLEAN__VOID' undeclared
(first use this function)
helper/sp-marshal.cpp:273: error: ISO C++ forbids declaration of `v_return'
with no type
helper/sp-marshal.cpp:273: error: redefinition of `int v_return'
helper/sp-marshal.cpp:256: error: `gboolean v_return' previously declared here
helper/sp-marshal.cpp:274: error: `callback' cannot be used as a function
helper/sp-marshal.cpp:276: error: `return_value' undeclared (first use this
function)
helper/sp-marshal.cpp:276: error: ISO C++ forbids declaration of `
g_value_set_boolean' with no type
helper/sp-marshal.cpp:276: error: `int g_value_set_boolean' redeclared as
different kind of symbol
/usr/include/glib-2.0/gobject/gvaluetypes.h:58: error: previous declaration of
`void g_value_set_boolean(GValue*, int)'
helper/sp-marshal.cpp:276: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:277: error: syntax error before `}' token
helper/sp-marshal.cpp:282: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_BOOLEAN__UINT(...)':
helper/sp-marshal.cpp:291: error: syntax error before `;' token
helper/sp-marshal.cpp:292: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:254: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:293: error: redefinition of `void*data1'
helper/sp-marshal.cpp:255: error: `void*data1' previously declared here
helper/sp-marshal.cpp:293: error: type mismatch with previous external decl
helper/sp-marshal.cpp:269: error: previous external decl of `int data2'
helper/sp-marshal.cpp:294: error: redefinition of `gboolean v_return'
helper/sp-marshal.cpp:273: error: `int v_return' previously defined here
helper/sp-marshal.cpp:296: error: syntax error before `if'
helper/sp-marshal.cpp:296: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:296: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:259: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:296: error: syntax error before `}' token
helper/sp-marshal.cpp:297: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:297: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:296: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:297: error: syntax error before `}' token
helper/sp-marshal.cpp:302: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:302: error: conflicting types for `int data2'
helper/sp-marshal.cpp:293: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:303: error: syntax error before `}' token
helper/sp-marshal.cpp:307: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:307: error: redefinition of `int data2'
helper/sp-marshal.cpp:302: error: `int data2' previously defined here
helper/sp-marshal.cpp:308: error: syntax error before `}' token
helper/sp-marshal.cpp:309: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:309: error: redefinition of `int callback'
helper/sp-marshal.cpp:271: error: `int callback' previously defined here
helper/sp-marshal.cpp:309: error: `GMarshalFunc_BOOLEAN__UINT' undeclared
(first use this function)
helper/sp-marshal.cpp:311: error: ISO C++ forbids declaration of `v_return'
with no type
helper/sp-marshal.cpp:311: error: redefinition of `int v_return'
helper/sp-marshal.cpp:294: error: `gboolean v_return' previously declared here
helper/sp-marshal.cpp:313: error: `callback' cannot be used as a function
helper/sp-marshal.cpp:315: error: ISO C++ forbids declaration of `
g_value_set_boolean' with no type
helper/sp-marshal.cpp:315: error: redefinition of `int g_value_set_boolean'
helper/sp-marshal.cpp:276: error: `int g_value_set_boolean' previously defined
here
helper/sp-marshal.cpp:315: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:316: error: syntax error before `}' token
helper/sp-marshal.cpp:321: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_BOOLEAN__POINTER(...)':
helper/sp-marshal.cpp:330: error: syntax error before `;' token
helper/sp-marshal.cpp:331: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:292: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:332: error: redefinition of `void*data1'
helper/sp-marshal.cpp:293: error: `void*data1' previously declared here
helper/sp-marshal.cpp:332: error: type mismatch with previous external decl
helper/sp-marshal.cpp:307: error: previous external decl of `int data2'
helper/sp-marshal.cpp:333: error: redefinition of `gboolean v_return'
helper/sp-marshal.cpp:311: error: `int v_return' previously defined here
helper/sp-marshal.cpp:335: error: syntax error before `if'
helper/sp-marshal.cpp:335: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:335: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:297: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:335: error: syntax error before `}' token
helper/sp-marshal.cpp:336: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:336: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:335: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:336: error: syntax error before `}' token
helper/sp-marshal.cpp:341: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:341: error: conflicting types for `int data2'
helper/sp-marshal.cpp:332: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:342: error: syntax error before `}' token
helper/sp-marshal.cpp:346: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:346: error: redefinition of `int data2'
helper/sp-marshal.cpp:341: error: `int data2' previously defined here
helper/sp-marshal.cpp:347: error: syntax error before `}' token
helper/sp-marshal.cpp:348: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:348: error: redefinition of `int callback'
helper/sp-marshal.cpp:309: error: `int callback' previously defined here
helper/sp-marshal.cpp:348: error: `GMarshalFunc_BOOLEAN__POINTER' undeclared
(first use this function)
helper/sp-marshal.cpp:350: error: ISO C++ forbids declaration of `v_return'
with no type
helper/sp-marshal.cpp:350: error: redefinition of `int v_return'
helper/sp-marshal.cpp:333: error: `gboolean v_return' previously declared here
helper/sp-marshal.cpp:352: error: `callback' cannot be used as a function
helper/sp-marshal.cpp:354: error: ISO C++ forbids declaration of `
g_value_set_boolean' with no type
helper/sp-marshal.cpp:354: error: redefinition of `int g_value_set_boolean'
helper/sp-marshal.cpp:315: error: `int g_value_set_boolean' previously defined
here
helper/sp-marshal.cpp:354: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:355: error: syntax error before `}' token
helper/sp-marshal.cpp:360: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_BOOLEAN__POINTER_UINT(...)
':
helper/sp-marshal.cpp:370: error: syntax error before `;' token
helper/sp-marshal.cpp:371: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:331: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:372: error: redefinition of `void*data1'
helper/sp-marshal.cpp:332: error: `void*data1' previously declared here
helper/sp-marshal.cpp:372: error: type mismatch with previous external decl
helper/sp-marshal.cpp:346: error: previous external decl of `int data2'
helper/sp-marshal.cpp:373: error: redefinition of `gboolean v_return'
helper/sp-marshal.cpp:350: error: `int v_return' previously defined here
helper/sp-marshal.cpp:375: error: syntax error before `if'
helper/sp-marshal.cpp:375: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:375: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:336: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:375: error: syntax error before `}' token
helper/sp-marshal.cpp:376: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:376: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:375: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:376: error: syntax error before `}' token
helper/sp-marshal.cpp:381: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:381: error: conflicting types for `int data2'
helper/sp-marshal.cpp:372: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:382: error: syntax error before `}' token
helper/sp-marshal.cpp:386: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:386: error: redefinition of `int data2'
helper/sp-marshal.cpp:381: error: `int data2' previously defined here
helper/sp-marshal.cpp:387: error: syntax error before `}' token
helper/sp-marshal.cpp:388: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:388: error: redefinition of `int callback'
helper/sp-marshal.cpp:348: error: `int callback' previously defined here
helper/sp-marshal.cpp:388: error: `GMarshalFunc_BOOLEAN__POINTER_UINT'
undeclared (first use this function)
helper/sp-marshal.cpp:390: error: ISO C++ forbids declaration of `v_return'
with no type
helper/sp-marshal.cpp:390: error: redefinition of `int v_return'
helper/sp-marshal.cpp:373: error: `gboolean v_return' previously declared here
helper/sp-marshal.cpp:393: error: `callback' cannot be used as a function
helper/sp-marshal.cpp:395: error: ISO C++ forbids declaration of `
g_value_set_boolean' with no type
helper/sp-marshal.cpp:395: error: redefinition of `int g_value_set_boolean'
helper/sp-marshal.cpp:354: error: `int g_value_set_boolean' previously defined
here
helper/sp-marshal.cpp:395: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:396: error: syntax error before `}' token
helper/sp-marshal.cpp:401: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void
sp_marshal_BOOLEAN__POINTER_POINTER(...)':
helper/sp-marshal.cpp:411: error: syntax error before `;' token
helper/sp-marshal.cpp:412: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:371: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:413: error: redefinition of `void*data1'
helper/sp-marshal.cpp:372: error: `void*data1' previously declared here
helper/sp-marshal.cpp:413: error: type mismatch with previous external decl
helper/sp-marshal.cpp:386: error: previous external decl of `int data2'
helper/sp-marshal.cpp:414: error: redefinition of `gboolean v_return'
helper/sp-marshal.cpp:390: error: `int v_return' previously defined here
helper/sp-marshal.cpp:416: error: syntax error before `if'
helper/sp-marshal.cpp:416: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:416: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:376: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:416: error: syntax error before `}' token
helper/sp-marshal.cpp:417: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:417: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:416: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:417: error: syntax error before `}' token
helper/sp-marshal.cpp:422: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:422: error: conflicting types for `int data2'
helper/sp-marshal.cpp:413: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:423: error: syntax error before `}' token
helper/sp-marshal.cpp:427: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:427: error: redefinition of `int data2'
helper/sp-marshal.cpp:422: error: `int data2' previously defined here
helper/sp-marshal.cpp:428: error: syntax error before `}' token
helper/sp-marshal.cpp:429: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:429: error: redefinition of `int callback'
helper/sp-marshal.cpp:388: error: `int callback' previously defined here
helper/sp-marshal.cpp:429: error: `GMarshalFunc_BOOLEAN__POINTER_POINTER'
undeclared (first use this function)
helper/sp-marshal.cpp:431: error: ISO C++ forbids declaration of `v_return'
with no type
helper/sp-marshal.cpp:431: error: redefinition of `int v_return'
helper/sp-marshal.cpp:414: error: `gboolean v_return' previously declared here
helper/sp-marshal.cpp:434: error: `callback' cannot be used as a function
helper/sp-marshal.cpp:436: error: ISO C++ forbids declaration of `
g_value_set_boolean' with no type
helper/sp-marshal.cpp:436: error: redefinition of `int g_value_set_boolean'
helper/sp-marshal.cpp:395: error: `int g_value_set_boolean' previously defined
here
helper/sp-marshal.cpp:436: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:437: error: syntax error before `}' token
helper/sp-marshal.cpp:442: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_INT__POINTER_POINTER(...)':
helper/sp-marshal.cpp:452: error: syntax error before `;' token
helper/sp-marshal.cpp:453: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:412: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:454: error: redefinition of `void*data1'
helper/sp-marshal.cpp:413: error: `void*data1' previously declared here
helper/sp-marshal.cpp:454: error: type mismatch with previous external decl
helper/sp-marshal.cpp:427: error: previous external decl of `int data2'
helper/sp-marshal.cpp:455: error: redefinition of `gint v_return'
helper/sp-marshal.cpp:431: error: `int v_return' previously defined here
helper/sp-marshal.cpp:457: error: syntax error before `if'
helper/sp-marshal.cpp:457: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:457: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:417: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:457: error: syntax error before `}' token
helper/sp-marshal.cpp:458: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:458: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:457: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:458: error: syntax error before `}' token
helper/sp-marshal.cpp:463: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:463: error: conflicting types for `int data2'
helper/sp-marshal.cpp:454: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:464: error: syntax error before `}' token
helper/sp-marshal.cpp:468: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:468: error: redefinition of `int data2'
helper/sp-marshal.cpp:463: error: `int data2' previously defined here
helper/sp-marshal.cpp:469: error: syntax error before `}' token
helper/sp-marshal.cpp:470: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:470: error: redefinition of `int callback'
helper/sp-marshal.cpp:429: error: `int callback' previously defined here
helper/sp-marshal.cpp:470: error: `GMarshalFunc_INT__POINTER_POINTER'
undeclared (first use this function)
helper/sp-marshal.cpp:472: error: ISO C++ forbids declaration of `v_return'
with no type
helper/sp-marshal.cpp:472: error: redefinition of `int v_return'
helper/sp-marshal.cpp:455: error: `gint v_return' previously declared here
helper/sp-marshal.cpp:475: error: `callback' cannot be used as a function
helper/sp-marshal.cpp:477: error: ISO C++ forbids declaration of `
g_value_set_int' with no type
helper/sp-marshal.cpp:477: error: `int g_value_set_int' redeclared as different
kind of symbol
/usr/include/glib-2.0/gobject/gvaluetypes.h:61: error: previous declaration of
`void g_value_set_int(GValue*, int)'
helper/sp-marshal.cpp:477: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:478: error: syntax error before `}' token
helper/sp-marshal.cpp:483: error: syntax error before `__attribute__'
helper/sp-marshal.cpp: In function `void sp_marshal_DOUBLE__POINTER_UINT(...)':
helper/sp-marshal.cpp:493: error: syntax error before `;' token
helper/sp-marshal.cpp:494: error: redefinition of `GCClosure*cc'
helper/sp-marshal.cpp:453: error: `GCClosure*cc' previously defined here
helper/sp-marshal.cpp:495: error: redefinition of `void*data1'
helper/sp-marshal.cpp:454: error: `void*data1' previously declared here
helper/sp-marshal.cpp:495: error: type mismatch with previous external decl
helper/sp-marshal.cpp:468: error: previous external decl of `int data2'
helper/sp-marshal.cpp:496: error: type mismatch with previous external decl
helper/sp-marshal.cpp:472: error: previous external decl of `int v_return'
helper/sp-marshal.cpp:498: error: syntax error before `if'
helper/sp-marshal.cpp:498: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:498: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:458: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:498: error: syntax error before `}' token
helper/sp-marshal.cpp:499: error: ISO C++ forbids declaration of `
_g_boolean_var_' with no type
helper/sp-marshal.cpp:499: error: redefinition of `int _g_boolean_var_'
helper/sp-marshal.cpp:498: error: `int _g_boolean_var_' previously declared
here
helper/sp-marshal.cpp:499: error: syntax error before `}' token
helper/sp-marshal.cpp:504: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:504: error: conflicting types for `int data2'
helper/sp-marshal.cpp:495: error: previous declaration as `void*data2'
helper/sp-marshal.cpp:505: error: syntax error before `}' token
helper/sp-marshal.cpp:509: error: ISO C++ forbids declaration of `data2' with
no type
helper/sp-marshal.cpp:509: error: redefinition of `int data2'
helper/sp-marshal.cpp:504: error: `int data2' previously defined here
helper/sp-marshal.cpp:510: error: syntax error before `}' token
helper/sp-marshal.cpp:511: error: ISO C++ forbids declaration of `callback'
with no type
helper/sp-marshal.cpp:511: error: redefinition of `int callback'
helper/sp-marshal.cpp:470: error: `int callback' previously defined here
helper/sp-marshal.cpp:511: error: `GMarshalFunc_DOUBLE__POINTER_UINT'
undeclared (first use this function)
helper/sp-marshal.cpp:513: error: ISO C++ forbids declaration of `v_return'
with no type
helper/sp-marshal.cpp:513: error: conflicting types for `int v_return'
helper/sp-marshal.cpp:496: error: previous declaration as `gdouble v_return'
helper/sp-marshal.cpp:516: error: `callback' cannot be used as a function
helper/sp-marshal.cpp:518: error: ISO C++ forbids declaration of `
g_value_set_double' with no type
helper/sp-marshal.cpp:518: error: `int g_value_set_double' redeclared as
different kind of symbol
/usr/include/glib-2.0/gobject/gvaluetypes.h:82: error: previous declaration of
`void g_value_set_double(GValue*, double)'
helper/sp-marshal.cpp:518: error: initializer list being treated as compound
expression
helper/sp-marshal.cpp:519: error: syntax error before `}' token
helper/sp-marshal.cpp: In function `void
__static_initialization_and_destruction_0(int, int)':
helper/sp-marshal.cpp:71: error: register name not specified for `GCClosure*cc'
helper/sp-marshal.cpp:72: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:108: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:109: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:145: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:146: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:182: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:183: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:219: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:220: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:254: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:255: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:292: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:293: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:331: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:332: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:371: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:372: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:412: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:413: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:453: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:454: error: register name not specified for `void*data1'
helper/sp-marshal.cpp:494: error: register name not specified for `GCClosure*cc
'
helper/sp-marshal.cpp:495: error: register name not specified for `void*data1'
distcc[18942] ERROR: compile helper/sp-marshal.cpp on localhost failed
make[2]: *** [helper/sp-marshal.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/slackbot_devel/0710301906/build/source-inkscape/inkscape-0.45.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/slackbot_devel/0710301906/build/source-inkscape/inkscape-0.45.1'
make: *** [all] Error 2
----------------------------------------------------------------------
Comment By: Markus (mkanet)
Date: 2007-10-31 17:00
Message:
Logged In: YES
user_id=1837322
Originator: YES
Hi...
well, i had to start asking either the inkscape team or the glib team.
Looks like i took the wrong decision, sorry.
----------------------------------------------------------------------
Comment By: bulia byak (buliabyak)
Date: 2007-10-31 15:37
Message:
Logged In: YES
user_id=741217
Originator: NO
so if this is glib problem, why are you filing a bug with inkscape? file a
bug with glib!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1822984&group_id=93438
|