1 |
On Sunday 03 April 2011 19:21:05 walt wrote: |
2 |
> On 04/03/2011 09:45 AM, Mick wrote: |
3 |
> > enterminus fails to compile - any ideas why? |
4 |
> > |
5 |
> > term.c:338: warning: passing argument 2 of ‘ecore_timer_add’ from |
6 |
> > incompatible pointer type |
7 |
> > /usr/include/ecore-1/Ecore.h:534: note: expected ‘Ecore_Task_Cb’ but |
8 |
> > argument is of type ‘int (*)(struct Term *)’ |
9 |
> > make[3]: *** [term.o] Error 1 |
10 |
> > make[3]: *** Waiting for unfinished jobs.... |
11 |
> |
12 |
> Just a wild guess: I see lots of warnings, but no real error message. (I'm |
13 |
> not sure if that "note:" is an error or a warning.) |
14 |
> |
15 |
> Anyway, looks like you're compiling with -j > 1, so I'd suggest trying |
16 |
> again with -j1 just for fun. |
17 |
|
18 |
Thanks Walt, just tried it, but it fails in the same way. All I now see is |
19 |
this: |
20 |
|
21 |
[snip ...] |
22 |
In file included from pty.c:1: |
23 |
term.h:1:1: warning: "_GNU_SOURCE" redefined |
24 |
<command-line>: warning: this is the location of the previous definition |
25 |
pty.c: In function ‘execute_command’: |
26 |
pty.c:121: warning: ignoring return value of ‘chdir’, declared with attribute |
27 |
warn_unused_result |
28 |
mv -f .deps/pty.Tpo .deps/pty.Po |
29 |
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -D_GNU_SOURCE=1 |
30 |
-D_REENTRANT -pthread -DQT_SHARED -I/usr/include/evas-1 - |
31 |
I/usr/include/librsvg-2.0 -I/usr/include/cairo -I/usr/include/libpng14 - |
32 |
I/usr/include/eet-1 -I/usr/include/SDL -I/usr/include/freetype2 - |
33 |
I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/include/glib-2.0 - |
34 |
I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 - |
35 |
I/usr/include/pixman-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui - |
36 |
I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/ecore-1 - |
37 |
I/usr/include/ecore-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina - |
38 |
Wall -O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx -pipe -MT term.o -MD |
39 |
-MP -MF .deps/term.Tpo -c -o term.o term.c |
40 |
In file included from term.c:1: |
41 |
term.h:1:1: warning: "_GNU_SOURCE" redefined |
42 |
<command-line>: warning: this is the location of the previous definition |
43 |
term.c:144: error: conflicting types for ‘term_tcanvas_data’ |
44 |
term.h:156: note: previous declaration of ‘term_tcanvas_data’ was here |
45 |
term.c: In function ‘term_init’: |
46 |
term.c:337: warning: passing argument 2 of ‘ecore_timer_add’ from incompatible |
47 |
pointer type |
48 |
/usr/include/ecore-1/Ecore.h:534: note: expected ‘Ecore_Task_Cb’ but argument |
49 |
is of type ‘int (*)(void *)’ |
50 |
term.c:338: warning: passing argument 2 of ‘ecore_timer_add’ from incompatible |
51 |
pointer type |
52 |
/usr/include/ecore-1/Ecore.h:534: note: expected ‘Ecore_Task_Cb’ but argument |
53 |
is of type ‘int (*)(struct Term *)’ |
54 |
make[3]: *** [term.o] Error 1 |
55 |
make[3]: Leaving directory `/var/tmp/portage/x11- |
56 |
terms/enterminus-9999/work/enterminus/src/bin' |
57 |
make[2]: *** [all-recursive] Error 1 |
58 |
make[2]: Leaving directory `/var/tmp/portage/x11- |
59 |
terms/enterminus-9999/work/enterminus/src' |
60 |
make[1]: *** [all-recursive] Error 1 |
61 |
make[1]: Leaving directory `/var/tmp/portage/x11- |
62 |
terms/enterminus-9999/work/enterminus' |
63 |
make: *** [all] Error 2 |
64 |
emake failed |
65 |
* ERROR: x11-terms/enterminus-9999 failed (compile phase): |
66 |
* (no error message) |
67 |
* |
68 |
* Call stack: |
69 |
* ebuild.sh, line 56: Called src_compile |
70 |
* environment, line 2791: Called enlightenment_src_compile |
71 |
* environment, line 1465: Called die |
72 |
* The specific snippet of code: |
73 |
* emake || die; |
74 |
|
75 |
-- |
76 |
Regards, |
77 |
Mick |