From: Marcus M. <mei...@su...> - 2003-07-15 12:13:44
|
> I did try 2.1.2dev12 but its even worse : > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl > -I../libgphoto2_port/libgphoto2_port > "-DLOCALEDIR=\"/usr/local/share/locale\"" > "-DCAMLIBS=\"/usr/local/lib/gphoto2/2.1.2dev12\"" > -I/usr/local/include/libexif -I/usr/local/include -g -O2 -g -Wall > -Wmissing-declarations -Wmissing-prototypes -c gphoto2-filesys.c -MT > gphoto2-filesys.lo -MD -MP -MF .deps/gphoto2-filesys.TPlo -fPIC -DPIC -o > .libs/gphoto2-filesys.lo > gphoto2-filesys.c:1929:2: #error "No way to measure free memory: you need > to customize this for your system" > gphoto2-filesys.c: In function `gp_get_free_memory': > gphoto2-filesys.c:1932: warning: control reaches end of non-void function > make[2]: *** [gphoto2-filesys.lo] Error 1 > make[2]: Leaving directory `/tmp/libgphoto2-2.1.2dev12/libgphoto2' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/libgphoto2-2.1.2dev12' > make: *** [all] Error 2 > > > This did not happen with 2.1.1 This means: "No way to measure free memory: you need to customize this for your system". So implement something like free memory detection in gphoto2-filesys.c for Solaris. Ciao, Marcus |