[Bf-committers] Slight build problems with current cvs snapshots

Meino Christian Cramer bf-committers@blender.org
Wed, 22 Oct 2003 04:34:45 +0200 (CEST)


Hi,

 ...only want to mention, that the build process 
 (using ./configure --with-libpng=/usr/bin --with-libz=/usr/bin) does
 _not _ include the png/z libs and they have to be inserted by hand
 after the last call to gcc (linking *.o) has failed.

 In the config.log I found 

 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libpng.so: undefined reference to `pow'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libpng.so: undefined reference to `deflateInit2_'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libpng.so: undefined reference to `inflateReset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libpng.so: undefined reference to `deflateReset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libpng.so: undefined reference to `inflateEnd'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libpng.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
configure:14575: $? = 1
configure: failed program was:
| #line 14548 "configure"
| /* confdefs.h.  */
| #define PACKAGE_NAME "blender"
| #define PACKAGE_TARNAME "blender"
| #define PACKAGE_VERSION "2.29"
| #define PACKAGE_STRING "blender 2.29"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "blender"
| #define VERSION "2.29"
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_NAMESPACES
| #define HAVE_STL
| #define STDC_HEADERS 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MATH_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_NETDB_H 1
| /* end confdefs.h.  */
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char png_get_header_version ();
| int
| main ()
| png_get_header_version ();
|   ;
|   return 0;
configure:14593: result: no


This test program should include libz also.

The new Blender is AMAZING!
Thank you VERY MUCH!


Kind regards,
 Meino