[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] Epsilon Compiling Failure



Since this morning's CVS commits to Epsilon, it is no longer compiling.
It's apparently missing the epsilon_plugin.h header, but it's also
missing a reference to Ecore_Data.h in /src/lib/Epsilon.c

Here's the compiler output when you get it from CVS.

------------------------------------------------------------
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src
-I/usr/include/libpng12 -I../../src/include -DPACKAGE_BIN_DIR=\"/usr/bin
\" -DPACKAGE_LIB_DIR=\"/usr/lib\" -O2 -march=athlon-mp -pipe -Wall -MT
Epsilon.lo -MD -MP -MF .deps/Epsilon.Tpo -c Epsilon.c  -fPIC -DPIC
-o .libs/Epsilon.o
Epsilon.c:2:28: epsilon_plugin.h: No such file or directory
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/libpng12
-I../../src/include -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LIB_DIR=
\""/usr/lib"\"    -O2 -march=athlon-mp -pipe -Wall  -MT epsilon_thumb.lo
-MD -MP -MF ".deps/epsilon_thumb.Tpo" -c -o epsilon_thumb.lo
epsilon_thumb.c; \
then mv -f ".deps/epsilon_thumb.Tpo" ".deps/epsilon_thumb.Plo"; else rm
-f ".deps/epsilon_thumb.Tpo"; exit 1; fi
Epsilon.c:40: error: syntax error before '*' token
Epsilon.c:40: warning: type defaults to `int' in declaration of
`plugins_mime'
Epsilon.c:40: warning: data definition has no type or storage class
Epsilon.c:103: error: syntax error before '*' token
Epsilon.c:105: warning: return type defaults to `int'
Epsilon.c: In function `epsilon_plugin_load':
Epsilon.c:106: error: `Epsilon_Plugin' undeclared (first use in this
function)
Epsilon.c:106: error: (Each undeclared identifier is reported only once
Epsilon.c:106: error: for each function it appears in.)
Epsilon.c:106: error: `plugin' undeclared (first use in this function)
Epsilon.c:108: error: `epsilon_plugin_init' undeclared (first use in
this function)
Epsilon.c: In function `epsilon_init':
Epsilon.c:135: error: `Epsilon_Plugin' undeclared (first use in this
function)
Epsilon.c:135: error: `plugin' undeclared (first use in this function)
Epsilon.c:147: warning: implicit declaration of function
`ecore_hash_new'
Epsilon.c:147: error: `ecore_str_hash' undeclared (first use in this
function)
Epsilon.c:147: error: `ecore_str_compare' undeclared (first use in this
function)
Epsilon.c:147: warning: assignment makes pointer from integer without a
cast
Epsilon.c:159: warning: implicit declaration of function
`ecore_list_goto_first'
Epsilon.c:160: warning: implicit declaration of function
`ecore_list_next'
Epsilon.c:160: warning: assignment makes pointer from integer without a
cast
Epsilon.c:161: warning: implicit declaration of function
`ecore_hash_set'
Epsilon.c: In function `epsilon_generate':
Epsilon.c:521: error: `Epsilon_Plugin' undeclared (first use in this
function)
Epsilon.c:521: error: `plugin' undeclared (first use in this function)
Epsilon.c:643: warning: implicit declaration of function
`ecore_hash_get'
------------------------------------------------------------

Adding the reference to Ecore_Data.h into Epsilon.c then produces the
following output.

------------------------------------------------------------
 gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/libpng12
-I../../src/include -DPACKAGE_BIN_DIR=\"/usr/bin\" -DPACKAGE_LIB_DIR=
\"/usr/lib\" -g -O2 -Wall -MT Epsilon.lo -MD -MP -MF .deps/Epsilon.Tpo
-c Epsilon.c  -fPIC -DPIC -o .libs/Epsilon.o
Epsilon.c:2:28: epsilon_plugin.h: No such file or directory
Epsilon.c:103: error: syntax error before '*' token
Epsilon.c:105: warning: return type defaults to `int'
Epsilon.c: In function `epsilon_plugin_load':
Epsilon.c:106: error: `Epsilon_Plugin' undeclared (first use in this
function)
Epsilon.c:106: error: (Each undeclared identifier is reported only once
Epsilon.c:106: error: for each function it appears in.)
Epsilon.c:106: error: `plugin' undeclared (first use in this function)
Epsilon.c:108: error: `epsilon_plugin_init' undeclared (first use in
this function)
Epsilon.c: In function `epsilon_init':
Epsilon.c:135: error: `Epsilon_Plugin' undeclared (first use in this
function)
Epsilon.c:135: error: `plugin' undeclared (first use in this function)
Epsilon.c: In function `epsilon_generate':
Epsilon.c:521: error: `Epsilon_Plugin' undeclared (first use in this
function)
Epsilon.c:521: error: `plugin' undeclared (first use in this function)
------------------------------------------------------------

Looks like a header got missed on the commit.

Thanks,
Ed Presutti (ekrunch on freenode)