I'm not sure that v should be a pointer variable.
> ----------
> From: Rub�n[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: den 6 december 1999 14:05
> To: [EMAIL PROTECTED]
> Subject: Problem with lastest versions
>
> I've problems both with lastest debian package of GGI, all programs
> die with SEGV at ggiOpen, see an example:
>
> #include<ggi/ggi.h>
> int main()
> {
> ggi_visual_t *v;
> ggiInit();
> v=ggiOpen(NULL);
> ggiSetGraphMode(v,GGI_AUTO,GGI_AUTO,GGI_AUTO,GGI_AUTO,GT_AUTO);
> ggiClose(v);
> return 0;
> }
>
> I execute this simple program in _any_ target except of memory, and
> it crashes with this backtrace:
>
> #0 0x804c6c0 in ?? ()
> #1 0x40060c55 in vfprintf () from /lib/libc.so.6
> #2 0x4006812d in fprintf () from /lib/libc.so.6
> #3 0x40109aaf in ggDPrintf () from /usr/lib/libgg.so.0
> #4 0x40109b40 in ggLoadModule () from /usr/lib/libgg.so.0
> #5 0x4001b7b8 in ggiDBGetBuffer () from /usr/lib/libggi.so.2
> #6 0x4001baca in _ggiAddDL () from /usr/lib/libggi.so.2
> #7 0x4001bd08 in _ggiOpenDL () from /usr/lib/libggi.so.2
> #8 0x4001ca82 in ggiOpen () from /usr/lib/libggi.so.2
> #9 0x4001c92e in ggiOpen () from /usr/lib/libggi.so.2
> #10 0x80485e5 in main ()
>
> I've tried also to compile the lastest snapshot (99/12/05), and I
> got errors in all places where appeared EXPORTVAR and IMPORTVAR, for
> example:
> init.c:40: syntax error before `uint32'
> init.c:41: syntax error before `int'
> init.c:42: syntax error before `void'
>
> I need GGI to continue development of GGL, I finished the new 2D
> engine and I can't test if it works :(
> --
> Regards
> _
> /_) \/ / / email: mailto:[EMAIL PROTECTED]
> / \ / (_/ www : http://programacion.mundivia.es/ryu
> [ GGL developer ] & [ IRCore developer ] & [ GPUL member ]
>
>