Dave Plater | 18 Oct 00:19 2010
Picon

Re: Issue to build blender-2.54 on Fedora Linux

On 10/16/2010 09:26 AM, Dalai Felinto wrote:
> Hi,
> the error suggest something wrong with the blenderplayer there. Can you try
> with CMake instead of scons to see if it works for you? There are some
> difference between win and linux (I don't know why) so that wouldn't be the
> first time blenderplayer is building only for windows.
>
> If you feel like helping coding and experimenting, you may find a fix adding
> the "undefined references" to the
> //source/blenderplayer/bad_level_call_stubs/stubs.c.
>
> Regards,
> Dalai
>
> www.dalaifelinto.com
>
>
>   
I saw the statement in svn 32512 log about blenderplayer building with
cmake, I'm psyching myself up to try the switch to cmake I've got so
used to scons I might even manage to fix the scons build, if it works
for cmake. I tried with cmake but I think I enabled too many new options
and I was trying to make it build with liblcms2-devel against the new
lcms 2.0.5 all the headers are renamed to lcms2. I'm also trying to get
a  doc package so that I can put 2.54 or whatever release it will be
into the openSUSE graphics devel project where I maintain blender, at
the moment it's still on 2.49b. 2.54 seems to be missing the .blender
directory which used to be needed in $HOME for blender to work properly.
Regards
Dave P
>> On 10/10/2010 06:10 PM, Jochen Schmitt wrote:
>>     
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Hallo,
>>>
>>> I have try to build blender-2.54 for Fedora Linux. Unfortunately, I have
>>> got the follwoing error messages shown above.
>>>
>>> Because the error occurs during the install step, I assume this is an
>>> issue
>>> with the implicite DSO linking feature on Fedora.
>>>
>>> Additional information, like the SPEC file and the whole build log you
>>>       
>> can
>>     
>>> find at:
>>>
>>> SPEC:         http://www.herr-schmitt.de/pub/blender/blender.spec
>>> SRPM:
>>> http://www.herr-schmitt.de/pub/blender/blender-2.54-0.1.fc15.src.rpm
>>> Buildlog:    http://www.herr-schmitt.de/pub/blender/build.log
>>>
>>> Best Regards:
>>>
>>> Jochen Schmitt
>>>
>>> build/linux2/lib/libbf_blenkernel.a(modifier.o): In function
>>> `modifierType_getInfo':
>>> modifier.c:(.text+0x30a): undefined reference to `modifier_type_init'
>>> build/linux2/lib/libbf_blenloader.a(readblenentry.o): In function
>>> `BLO_blendhandle_get_linkable_groups':
>>> readblenentry.c:(.text+0x2e7): undefined reference to
>>> `BKE_idcode_is_valid'
>>> readblenentry.c:(.text+0x2f3): undefined reference to
>>> `BKE_idcode_is_linkable'
>>> readblenentry.c:(.text+0x2ff): undefined reference to
>>>       
>> `BKE_idcode_to_name'
>>     
>>> build/linux2/lib/libbf_blenloader.a(readfile.o): In function
>>> `do_versions':
>>> readfile.c:(.text+0xe306): undefined reference to
>>> `modifier_mdef_compact_influences'
>>> build/linux2/lib/libbf_blenloader.a(readfile.o): In function
>>> `read_libraries':
>>> readfile.c:(.text+0x16156): undefined reference to `BKE_idcode_to_name'
>>> readfile.c:(.text+0x161bd): undefined reference to `BKE_idcode_to_name'
>>> readfile.c:(.text+0x1622a): undefined reference to `BKE_idcode_to_name'
>>> readfile.c:(.text+0x1628c): undefined reference to `BKE_idcode_to_name'
>>> build/linux2/lib/libbf_converter.a(KX_BlenderSceneConverter.o): In
>>> function `KX_BlenderSceneConverter::LinkBlendFile(BlendHandle*, char
>>> const*, char*, KX_Scene*, char**)':
>>> KX_BlenderSceneConverter.cpp:(.text+0x1f1e): undefined reference to
>>> `BKE_idcode_from_name'
>>> build/linux2/lib/libbf_ketsji.a(KX_PythonInit.o): In function
>>> `gLibNew(_object*, _object*)':
>>> KX_PythonInit.cpp:(.text+0x8b08): undefined reference to
>>> `BKE_idcode_from_name'
>>> build/linux2/lib/libbf_python.a(bpy_rna.o): In function
>>>       
>> `pyrna_prop_repr':
>>     
>>> bpy_rna.c:(.text+0x31ef): undefined reference to
>>> `BKE_idcode_to_name_plural'
>>> bpy_rna.c:(.text+0x3243): undefined reference to
>>> `BKE_idcode_to_name_plural'
>>> build/linux2/lib/libbf_python.a(bpy_rna.o): In function
>>> `pyrna_struct_repr':
>>> bpy_rna.c:(.text+0x32d7): undefined reference to
>>> `BKE_idcode_to_name_plural'
>>> bpy_rna.c:(.text+0x331d): undefined reference to
>>> `BKE_idcode_to_name_plural'
>>> bpy_rna.c:(.text+0x3362): undefined reference to
>>> `BKE_idcode_to_name_plural'
>>> collect2: ld returned 1 exit status
>>> scons: *** [build/linux2/bin/blenderplayer] Error 1
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.10 (GNU/Linux)
>>> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>>>
>>> iJwEAQECAAYFAkyx5VAACgkQZLAIBz9lVu/UxAQAheMx9kGW66yehVp1T59QLAl5
>>> vUBu6etfXC+ftEkYpyQQG92E2WbedAEfOuyw5qse+lfGbBIOJIL3sX1AUg4ZE1ij
>>> m5umlyS97Gberv9vKHruxpFmRap82f3F79ARE++anKxE6YjLZtYD1AhVgz3vgU3E
>>> a66geSnViQZqXHK0j4k=
>>> =MW0M
>>> -----END PGP SIGNATURE-----
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers <at> blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>>
>>>       
>> Hi, I maintain blender for openSUSE and have been building 2.50 svn
>> snapshots from time to time. I see in your spec file that you are trying
>> to build blender player, which hasn't built for a long time. Maybe you
>> should try building without player "WITH_BF_PLAYER=false" . I've had no
>> trouble with blender-2.54 except for a struggle with openCOLLADA but it
>> wouldn't build with player. I started off with the blender-2.49 spec
>> file but this has also changed quite a lot as well. JFYI I sent a patch
>> to openCOLLADA fixing a few linux build issues which this morning seemed
>> to have been merged into rev 775.
>> My spec file etc blender-2.49b :
>> https://build.opensuse.org/package/show?package=blender&project=graphics
>> Blender-2.54 build failure atm due to docs install but it builds fine :
>>
>> https://build.opensuse.org/package/show?package=blender&project=home%3Aplater%3Ablender
>> Regards
>> Dave P
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers <at> blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>>     
> _______________________________________________
> Bf-committers mailing list
> Bf-committers <at> blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>   

Gmane