Hi,

when I try to compile the latest version of sawman (1.4.10) with the
latest version of DirectFB(1.4.11), I get this : 

...
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I../include -I../src -I../include -I../src -D_GNU_SOURCE
-D_REENTRANT -I/usr/include/directfb-internal -I/usr/include/directfb
-O3 -fexpensive-optimizations -ffast-math -Wall -g0
-DDATADIR=\"/usr/share/directfb\"
-DMODULEDIR=\"/usr/lib/directfb-1.4-5\" -DSYSCONFDIR=\"/usr/etc\"
-march=x86-64 -mtune=generic -O2 -pipe
-Werror-implicit-function-declaration -MT sawman_config.lo -MD -MP
-MF .deps/sawman_config.Tpo -c -o sawman_config.lo sawman_config.c
sawman.c: In function ‘SaWManCreate’: sawman.c:142:75: error: ‘struct
<anonymous>’ has no member named ‘session’ make[2]: *** [sawman.lo]
Error 1


If I look at the code, it seems that it fails here :
return CreateRemote( dfb_config->remote.host,
dfb_config->remote.session, ret_sawman );

Looking forward, dfb_config is defined
in /usr/include/directfb-internals/conf.h :

extern DFBConfig *dfb_config;

and in DFBConfig, the remote field is defined that way :

 struct {
     char *host;          /* Remote host to connect to. */
     int port;                             /* Remote port number. */ 
 } remote;

I assume that the line must be changed to
return CreateRemote( dfb_config->remote.host, dfb_config->session,
ret_sawman );
in order to compile or something like that. (Note that it seems that
other lines also have this prob.)


Regards,

Bountykiller.

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to