From: Dennis S. <sy...@yo...> - 2004-10-14 20:40:37
|
Duilio, you wrote this, could you please have a look at it ? :) Cheers, Dennis On Thu, 2004-10-14 at 22:32 +0200, David Le Brun wrote: > Hi, > > I've managed to build visual and all plugin (includes gforce and nebulus > plugins) under FreeBSD. > > I've just encountered a problem with libvisual : > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libvisual -I.. > -I../libvisual -Wall -Wno-unused-variable -Wmissing-prototypes > -Wstrict-prototypes -DPLUGPATH=\"/usr/X11R6/lib/libvisual\" -O3 -MT > lv_actor.lo -MD -MP -MF .deps/lv_actor.Tpo -c lv_actor.c -fPIC -DPIC -o > .libs/lv_actor.o > In file included from ../libvisual/lv_common.h:6, > from lv_list.h:4, > from lv_actor.c:8: > ../libvisual/lv_mem.h:11: error: syntax error before > "__attribute_malloc__" > lv_actor.c: In function `visual_actor_new': > lv_actor.c:280: warning: implicit declaration of function > `visual_mem_malloc0' > *** Error code 1 > > I've just have to remove condition to use this declaration : > void *visual_mem_malloc0 (visual_size_t nbytes); > > Informations: > libvisual-0.1.7 > FreeBSD 5.3-BETA7 > > cc -v > Using built-in specs. > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 3.4.2 [FreeBSD] 20040728 |