[Bf-committers] Cygwin 'make release' error

Tanner Jotblad tannerjotblad at gmail.com
Fri Nov 30 06:38:25 CET 2007


Okay, I've been delving into the Makefiles and the bmake script, and I'm 
getting kind of lost.
I figured out the '-c: command not found' stuff, that's fixed in my 
patch at the bottom.
But now I think that it's failing to link with -lm or something because 
it can't find the pow() function,
and I think it needs to link with libblenpluginapi.a as well, but I 
don't know how to find where the library is without hard coding the path.
anyway, here's my new output after applying my patch (you might need to 
'touch' it or 'nano' then save it):


Tanner at Tanner_hp /cygdrive/d/source/bf-blender/blender
$ make release
====> make release in /release
*---> Create blender-2.44-windows-py2.5 package
----> Make Config dir .blender
----> Copy blender.exe executable
----> Copy and compile plugins
clouds2.o:clouds2.c:(.text+0x164): undefined reference to `hnoise'
clouds2.o:clouds2.c:(.text+0x1d6): undefined reference to `pow'
tiles.o:tiles.c:(.text+0xd8): undefined reference to `floor'
tiles.o:tiles.c:(.text+0x126): undefined reference to `floor'
tiles.o:tiles.c:(.text+0x2a0): undefined reference to `hnoise'
tiles.o:tiles.c:(.text+0x2c4): undefined reference to `hnoise'
blur.o:blur.c:(.text+0x8f): undefined reference to `dupImBuf'
blur.o:blur.c:(.text+0x167): undefined reference to `onehalf'
blur.o:blur.c:(.text+0x178): undefined reference to `freeImBuf'
blur.o:blur.c:(.text+0x1b7): undefined reference to `double_x'
blur.o:blur.c:(.text+0x1c8): undefined reference to `freeImBuf'
blur.o:blur.c:(.text+0x1d6): undefined reference to `double_y'
blur.o:blur.c:(.text+0x1e4): undefined reference to `freeImBuf'
blur.o:blur.c:(.text+0x26f): undefined reference to `gamwarp'
blur.o:blur.c:(.text+0x283): undefined reference to `gamwarp'
blur.o:blur.c:(.text+0x2ae): undefined reference to `scaleImBuf'
blur.o:blur.c:(.text+0x320): undefined reference to `dupImBuf'
blur.o:blur.c:(.text+0x386): undefined reference to `dupImBuf'
blur.o:blur.c:(.text+0x429): undefined reference to `freeImBuf'
blur.o:blur.c:(.text+0x159): undefined reference to `freeImBuf'
blur.o:blur.c:(.text+0x258): undefined reference to `freeImBuf'
blur.o:blur.c:(.text+0x43b): undefined reference to `freeImBuf'
color-correction-hsv.o:color-correction-hsv.c:(.text+0x25a): undefined 
reference
 to `pow'
color-correction-yuv.o:color-correction-yuv.c:(.text+0x139): undefined 
reference
 to `pow'
gamma.o:gamma.c:(.text+0xe6): undefined reference to `pow'
gamma.o:gamma.c:(.text+0x38d): undefined reference to `pow'
gamma.o:gamma.c:(.text+0x3e3): undefined reference to `pow'
scatter.o:scatter.c:(.text+0x53a): undefined reference to `drand48'
scatter.o:scatter.c:(.text+0x548): undefined reference to `drand48'
scatter.o:scatter.c:(.text+0x57e): undefined reference to `drand48'
scatter.o:scatter.c:(.text+0x5ae): undefined reference to `srand48'
scatter.o:scatter.c:(.text+0x5e1): undefined reference to `srand48'
scatter.o:scatter.c:(.text+0x5eb): undefined reference to `drand48'
mv: cannot stat 
`/cygdrive/d/source/bf-blender/blender/obj/blender-2.44-windows-
py2.5/plugins/texture/*.so': No such file or directory
make[2]: *** [install] Error 1
make[1]: *** [all] Error 2
make: *** [release] Error 1

Tanner at Tanner_hp /cygdrive/d/source/bf-blender/blender
$

My patch is as follows:

Index: release/plugins/bmake
===================================================================
--- release/plugins/bmake    (revision 12728)
+++ release/plugins/bmake    (working copy)
@@ -34,7 +34,7 @@
 
 UNAME=`uname`
 EXT="so";
-if ( test "WIN32" = "$TARGET" ) then
+if ( test "windows" = "$OS" ) then
         CC="gcc";
         CFLAGS="-funsigned-char -O2";
 
thanks...


More information about the Bf-committers mailing list