[Bf-committers] cvs version comparison OS X
Michael Velikanje
bf-committers@blender.org
Sun, 8 Dec 2002 22:02:25 -0900
The latest cvs01 (8/12/02) breaks during the blender/intern portion of
the build, this is a big step backwards since it used to break while
linking libfrozen.a in the final stage. I have an older version that
compiled to that stage so I have done some testing. I took the main
files from the old version and after removing the main (in the root
blender dir) files copied the old files into the current cvs, it
compiled to this point:
<
mkdir .libs
rm -fr .libs/libblender_creator.la .libs/libblender_creator.*
.libs/libblender_creator.*
ar cru .libs/libblender_creator.a buildinfo.o creator.o
ranlib .libs/libblender_creator.a
creating libblender_creator.la
(cd .libs && rm -f libblender_creator.la && ln -s
../libblender_creator.la libblender_creator.la)
/bin/sh ../libtool --mode=link gcc -g -O2 -o blender.bin -lz -lm
-ljpeg -lcrypto -lpthread -ldl -lstdc++
mkdir .libs
gcc -g -O2 -o blender.bin -lz -lm -ljpeg -lcrypto -lpthread -ldl
-lstdc++
ld: Undefined symbols:
_main
*** Error code 1
Stop in /Users/michaelv/Desktop/test2/blender/build/source.
*** Error code 1
Stop in /Users/michaelv/Desktop/test2/blender/build/source.
*** Error code 1
Stop in /Users/michaelv/Desktop/test2/blender/build.
*** Error code 1
>
The cvs entries file for the old version (this is a version that still
requires configure --build=powerpc):
<
/AUTHORS/1.1/Fri Nov 15 06:57:58 2002//
/COPYING/1.1/Fri Nov 15 06:57:58 2002//
/ChangeLog/1.1/Fri Nov 15 06:57:58 2002//
/INSTALL/1.1/Fri Nov 15 06:57:58 2002//
/Makefile.am/1.2/Thu Nov 21 04:25:20 2002//
/Makefile.in/1.6/Tue Nov 26 15:38:08 2002//
/NEWS/1.1/Fri Nov 15 06:57:58 2002//
/README/1.5/Wed Nov 27 16:25:53 2002//
/aclocal.m4/1.1/Fri Nov 15 06:57:58 2002//
/bootstrap/1.2/Wed Nov 27 20:54:25 2002//
/config.guess/1.1/Fri Nov 15 06:57:58 2002//
/config.h.in/1.6/Wed Nov 27 16:25:53 2002//
/config.sub/1.1/Fri Nov 15 06:57:58 2002//
/configure/1.8/Fri Nov 29 17:07:56 2002//
/depcomp/1.1/Fri Nov 15 06:57:58 2002//
/install-sh/1.1/Fri Nov 15 06:57:58 2002//
/ltmain.sh/1.2/Fri Nov 15 18:25:06 2002//
/missing/1.1/Fri Nov 15 06:57:58 2002//
/mkinstalldirs/1.1/Fri Nov 15 06:57:58 2002//
D/doc////
D/intern////
D/lib////
D/obj////
D/projectfiles////
D/source////
/configure.ac/1.10/Result of merge//
>
I have also remove the main files from the old version and copied the
main files from the latest version into the old, it compiles to this
point:
<
iksolver/.libs/libblender_IK.al(MT_ExpMap.lo) definition of
MT_ExpMap::compute_dRdVi(MT_Quaternion const&, MT_Quaternion const&,
MT_Matrix4x4&) const in section (__TEXT,__text)
ld: multiple definitions of symbol MT_ExpMap::partialDerivatives(int)
const
iksolver/.libs/libblender_IK.al(MT_ExpMap.lo) definition of
MT_ExpMap::partialDerivatives(int) const in section (__TEXT,__text)
iksolver/.libs/libblender_IK.al(MT_ExpMap.lo) definition of
MT_ExpMap::partialDerivatives(int) const in section (__TEXT,__text)
ld: multiple definitions of symbol MT_ExpMap::getMatrix() const
iksolver/.libs/libblender_IK.al(MT_ExpMap.lo) definition of
MT_ExpMap::getMatrix() const in section (__TEXT,__text)
iksolver/.libs/libblender_IK.al(MT_ExpMap.lo) definition of
MT_ExpMap::getMatrix() const in section (__TEXT,__text)
*** Error code 1
Stop in /Users/michaelv/Desktop/test3/blendersaved/build/intern.
*** Error code 1
Stop in /Users/michaelv/Desktop/test3/blendersaved/build/intern.
*** Error code 1
Stop in /Users/michaelv/Desktop/test3/blendersaved/build.
*** Error code 1
Stop in /Users/michaelv/Desktop/test3/blendersaved/build.
>
Which is the same place it breaks in the newest version (8/12/02).
I also just swapped the configure.ac files, swapping the old file into
the new version breaks in the same place as the new version
configure.ac. The last thing I tried was to add the new versions
configure.ac to the old version, it required configure --build=powerpc.
The old source with the new version configure.ac compiled this point:
<
mkdir .libs
gcc -g -O2 -o blenderpublisher.app -L/usr/local/lib/python2.2/config
creator/.libs/libblender_creator.a -lm -lpthread -ldl
blender/.libs/libblender_blender.a -lm -lpthread -ldl -lm -lpthread
-ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm
-lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl
-lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread
-ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm
-lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl
-lpython2.2 -ldl -lm -lpthread -lm -lpthread -ldl -lm -lpthread -ldl
-lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl
kernel/.libs/libblender_kernel.a -lm -lpthread -ldl
../intern/.libs/libblender_intern.a -lm -lpthread -ldl
../intern/python/frozen/libfrozen.a -lGLU -lGL -lm -ljpeg -lpng
-lcrypto -lssl -lpthread -ldl -lstdc++ -lz
ld: archive: ../intern/python/frozen/libfrozen.a has no table of
contents, add one with ranlib(1) (can't load from it)
ld: can't locate file for: -lGLU
*** Error code 1
Stop in /Users/michaelv/Desktop/test4/blendersaved/build/source.
*** Error code 1
Stop in /Users/michaelv/Desktop/test4/blendersaved/build/source.
*** Error code 1
Stop in /Users/michaelv/Desktop/test4/blendersaved/build.
*** Error code 1
Stop in /Users/michaelv/Desktop/test4/blendersaved/build.
> From this it looks like the problem is in one of the other files.
The old version builds to this point before breaking:
<
gcc -g -O2 -o blenderpublisher.app -L/usr/local/lib/python2.2/config
creator/.libs/libblender_creator.a -lm -lpthread -ldl
blender/.libs/libblender_blender.a -lm -lpthread -ldl -lm -lpthread
-ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm
-lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl
-lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread
-ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm
-lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl
-lpython2.2 -ldl -lm -lpthread -lm -lpthread -ldl -lm -lpthread -ldl
-lm -lpthread -ldl -lm -lpthread -ldl -lm -lpthread -ldl
kernel/.libs/libblender_kernel.a -lm -lpthread -ldl
../intern/.libs/libblender_intern.a -lm -lpthread -ldl
../intern/python/frozen/libfrozen.a -lz -lm -ljpeg -lcrypto -lpthread
-ldl -lstdc++
ld: archive: ../intern/python/frozen/libfrozen.a has no table of
contents, add one with ranlib(1) (can't load from it)
*** Error code 1
Stop in /Users/michaelv/Desktop/blendersaved/build/source.
*** Error code 1
Stop in /Users/michaelv/Desktop/blendersaved/build/source.
*** Error code 1
Stop in /Users/michaelv/Desktop/blendersaved/build.
*** Error code 1
Stop in /Users/michaelv/Desktop/blendersaved/build.
>