On Sunday 03 April 2011 19:21:05 walt wrote:
> On 04/03/2011 09:45 AM, Mick wrote:
> > enterminus fails to compile - any ideas why?
> > 
> > term.c:338: warning: passing argument 2 of ‘ecore_timer_add’ from
> > incompatible pointer type
> > /usr/include/ecore-1/Ecore.h:534: note: expected ‘Ecore_Task_Cb’ but
> > argument is of type ‘int (*)(struct Term *)’
> > make[3]: *** [term.o] Error 1
> > make[3]: *** Waiting for unfinished jobs....
> 
> Just a wild guess:  I see lots of warnings, but no real error message. (I'm
> not sure if that "note:" is an error or a warning.)
> 
> Anyway, looks like you're compiling with -j > 1, so I'd suggest trying
> again with -j1 just for fun.

Thanks Walt, just tried it, but it fails in the same way.  All I now see is 
this: 

[snip ...]
In file included from pty.c:1:
term.h:1:1: warning: "_GNU_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
pty.c: In function ‘execute_command’:
pty.c:121: warning: ignoring return value of ‘chdir’, declared with attribute 
warn_unused_result
mv -f .deps/pty.Tpo .deps/pty.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -D_GNU_SOURCE=1 
-D_REENTRANT -pthread -DQT_SHARED -I/usr/include/evas-1 -
I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/libpng14 -
I/usr/include/eet-1 -I/usr/include/SDL -I/usr/include/freetype2 -
I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -
I/usr/include/pixman-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -
I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/ecore-1   -
I/usr/include/ecore-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina      -
Wall -O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx -pipe -MT term.o -MD 
-MP -MF .deps/term.Tpo -c -o term.o term.c
In file included from term.c:1:
term.h:1:1: warning: "_GNU_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
term.c:144: error: conflicting types for ‘term_tcanvas_data’
term.h:156: note: previous declaration of ‘term_tcanvas_data’ was here
term.c: In function ‘term_init’:
term.c:337: warning: passing argument 2 of ‘ecore_timer_add’ from incompatible 
pointer type
/usr/include/ecore-1/Ecore.h:534: note: expected ‘Ecore_Task_Cb’ but argument 
is of type ‘int (*)(void *)’
term.c:338: warning: passing argument 2 of ‘ecore_timer_add’ from incompatible 
pointer type
/usr/include/ecore-1/Ecore.h:534: note: expected ‘Ecore_Task_Cb’ but argument 
is of type ‘int (*)(struct Term *)’
make[3]: *** [term.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-
terms/enterminus-9999/work/enterminus/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-
terms/enterminus-9999/work/enterminus/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-
terms/enterminus-9999/work/enterminus'
make: *** [all] Error 2
emake failed
 * ERROR: x11-terms/enterminus-9999 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2791:  Called enlightenment_src_compile
 *   environment, line 1465:  Called die
 * The specific snippet of code:
 *       emake || die;

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to