[opensuse-programming] Need help with undefined reference to `RE_NewRender'
Hi, I'm trying to build blender-2.50 latest svn with blender player in home:plater:branches:graphics blender but I'm stuck on the above error. Pastebin won't take the entire build log but the end part is at :- http://pastebin.com/m6f39a002 The whole log can be downloaded with osc :- osc remotebuildlog home:plater:branches:graphics blender openSUSE_Factory x86_64 The error is :- gcc -o /usr/src/packages/BUILD/build/linux2/bin/blenderplayer -pthread -Xlinker -export-dynamic /usr/src/packages/BUILD/build/linux2/source/creator/dynamic_buildinfo.o /usr/src/packages/BUILD/build/linux2/lib/libgp_ghost.a /usr/src/packages/BUILD/build/linux2/lib/libgp_common.a /usr/src/packages/BUILD/build/linux2/lib/libbf_string.a /usr/src/packages/BUILD/build/linux2/lib/libbf_ghost.a /usr/src/packages/BUILD/build/linux2/lib/libbf_rna.a /usr/src/packages/BUILD/build/linux2/lib/libbf_blenkernel.a /usr/src/packages/BUILD/build/linux2/lib/libbf_blenloader.a /usr/src/packages/BUILD/build/linux2/lib/libbf_bloutines.a /usr/src/packages/BUILD/build/linux2/lib/libbf_converter.a /usr/src/packages/BUILD/build/linux2/lib/libbf_ketsji.a /usr/src/packages/BUILD/build/linux2/lib/libbf_bullet.a /usr/src/packages/BUILD/build/linux2/lib/libbf_physics_common.a /usr/src/packages/BUILD/build/linux2/lib/libbf_dummy.a /usr/src/packages/BUILD/build/linux2/lib/libbf_logic.a /usr/src/packages/BUILD/build/linux2/lib/libbf_rasterizer.a /usr/src/packages/BUILD/build/linux2/lib/libbf_oglrasterizer.a /usr/src/packages/BUILD/build/linux2/lib/libbf_expressions.a /usr/src/packages/BUILD/build/linux2/lib/libbf_scenegraph.a /usr/src/packages/BUILD/build/linux2/lib/libbf_IK.a /usr/src/packages/BUILD/build/linux2/lib/libbf_moto.a /usr/src/packages/BUILD/build/linux2/lib/libbf_ITASC.a /usr/src/packages/BUILD/build/linux2/lib/libbf_cmpnodes.a /usr/src/packages/BUILD/build/linux2/lib/libbf_shdnodes.a /usr/src/packages/BUILD/build/linux2/lib/libbf_texnodes.a /usr/src/packages/BUILD/build/linux2/lib/libbf_kernel.a /usr/src/packages/BUILD/build/linux2/lib/libbf_nodes.a /usr/src/packages/BUILD/build/linux2/lib/libbf_gpu.a /usr/src/packages/BUILD/build/linux2/lib/libbf_imbuf.a /usr/src/packages/BUILD/build/linux2/lib/libbf_avi.a /usr/src/packages/BUILD/build/linux2/lib/libbf_network.a /usr/src/packages/BUILD/build/linux2/lib/libbf_ngnetwork.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2softbody.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2dynamics.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2linmath.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_dispatch.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_gimpact.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_shapes.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_narrowphase.a /usr/src/packages/BUILD/build/linux2/lib/libbf_loopbacknetwork.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_broadphase.a /usr/src/packages/BUILD/build/linux2/lib/libbf_guardedalloc.a /usr/src/packages/BUILD/build/linux2/lib/libbf_memutil.a /usr/src/packages/BUILD/build/linux2/lib/libbf_python.a /usr/src/packages/BUILD/build/linux2/lib/libbf_gen_python.a /usr/src/packages/BUILD/build/linux2/lib/libbf_blenlib.a /usr/src/packages/BUILD/build/linux2/lib/libbf_cineon.a /usr/src/packages/BUILD/build/linux2/lib/libbf_openexr.a /usr/src/packages/BUILD/build/linux2/lib/libextern_openjpeg.a /usr/src/packages/BUILD/build/linux2/lib/libbf_ikplugin.a /usr/src/packages/BUILD/build/linux2/lib/libbf_readblenfile.a /usr/src/packages/BUILD/build/linux2/lib/libbf_dna.a /usr/src/packages/BUILD/build/linux2/lib/libbf_videotex.a /usr/src/packages/BUILD/build/linux2/lib/libbf_blenfont.a /usr/src/packages/BUILD/build/linux2/lib/libbf_audaspace.a /usr/src/packages/BUILD/build/linux2/lib/libblenkernel_blc.a /usr/src/packages/BUILD/build/linux2/lib/libextern_binreloc.a /usr/src/packages/BUILD/build/linux2/lib/libextern_glew.a /usr/src/packages/BUILD/build/linux2/lib/libbf_memutil.a /usr/src/packages/BUILD/build/linux2/lib/libbf_elbeem.a /usr/src/packages/BUILD/build/linux2/lib/libbf_guardedalloc.a /usr/src/packages/BUILD/build/linux2/lib/libblender_bop.a /usr/src/packages/BUILD/build/linux2/lib/libextern_redcode.a /usr/src/packages/BUILD/build/linux2/lib/libblender_CTR.a /usr/src/packages/BUILD/build/linux2/lib/libbf_ITASC.a /usr/src/packages/BUILD/build/linux2/lib/libbf_audaspace.a /usr/src/packages/BUILD/build/linux2/lib/libbf_ghost.a /usr/src/packages/BUILD/build/linux2/lib/libbf_smoke.a /usr/src/packages/BUILD/build/linux2/lib/libbf_minilzo.a /usr/src/packages/BUILD/build/linux2/lib/libbf_lzma.a /usr/src/packages/BUILD/build/linux2/lib/libbf_string.a /usr/src/packages/BUILD/build/linux2/lib/libbf_IK.a /usr/src/packages/BUILD/build/linux2/lib/libbf_moto.a /usr/src/packages/BUILD/build/linux2/lib/libextern_openjpeg.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2softbody.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2dynamics.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2linmath.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_dispatch.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_gimpact.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_shapes.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_narrowphase.a /usr/src/packages/BUILD/build/linux2/lib/libextern_bullet2collision_broadphase.a /usr/src/packages/BUILD/build/linux2/lib/libextern_binreloc.a /usr/src/packages/BUILD/build/linux2/lib/libextern_glew.a -L/usr/src/packages/BUILD/build/linux2/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/src/packages/BUILD/lib/linux2/iconv/lib -L/usr/lib -L/usr/include/AL -ljpeg -lpng -lz -lsamplerate -lfreetype -lpython3.1 -lopenal -lalut -lHalf -lIlmImf -lIex -lImath -lSDL -lGL -lGLU -lX11 -lXi -lutil -lc -lm -ldl -lpthread -lstdc++ /usr/src/packages/BUILD/build/linux2/lib/libbf_blenkernel.a(sequence.o): In function `T.146': sequence.c:(.text+0x4118): undefined reference to `RE_NewRender' sequence.c:(.text+0x414b): undefined reference to `RE_BlenderFrame' collect2: ld returned 1 exit status scons: *** [/usr/src/packages/BUILD/build/linux2/bin/blenderplayer] Error 1 The line in sequence.c is :- re= RE_NewRender(sce->id.name); and RE_BlenderFrame(re, sce, seq->sfra+se->nr+seq->anim_startofs); These are defined in RE_pipeline.h :- void RE_BlenderFrame(struct Render *re, struct Scene *scene, int frame); and struct Render *RE_NewRender (const char *name); I would appreciate any help with finding the source of these errors. Thanks Dave P -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On Mon, 23 Nov 2009 13:17:34 +0200, you wrote:
These are defined in RE_pipeline.h :- void RE_BlenderFrame(struct Render *re, struct Scene *scene, int frame); and struct Render *RE_NewRender (const char *name);
That are only declarations. You'll have to finjd the source that defines them, i.e. where the code for those functions resides and then see why it isn't built and included in linking. Philipp -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
On 11/23/2009 05:36 PM, Philipp Thomas wrote:
On Mon, 23 Nov 2009 13:17:34 +0200, you wrote:
These are defined in RE_pipeline.h :- void RE_BlenderFrame(struct Render *re, struct Scene *scene, int frame); and struct Render *RE_NewRender (const char *name);
That are only declarations. You'll have to finjd the source that defines them, i.e. where the code for those functions resides and then see why it isn't built and included in linking.
Philipp
I included the two lines from the function sequence.c that the error relates to at the bottom of my first email, I've checked that sequence.c includes RE_pipeline.h and the sConscript file points to it's directory but I think that the problem has something to do with the object file's build order or something to that effect, I'm busy wading through the scons documentation but I haven't found anything to give me a clue yet. At least I've got past a few errors so far but I'm stuck on this at the moment. if(rendering) { BLI_strncpy(scenename, sce->id.name+2, 64); strcpy(sce->id.name+2, " do_build_seq_ibuf"); } re= RE_NewRender(sce->id.name); /* prevent eternal loop */ doseq= scene->r.scemode & R_DOSEQ; scene->r.scemode &= ~R_DOSEQ; RE_BlenderFrame(re, sce, seq->sfra+se->nr+seq->anim_startofs); if(rendering) BLI_strncpy(sce->id.name+2, scenename, 64); RE_AcquireResultImage(re, &rres); Thanks Dave P -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
participants (2)
-
Dave Plater
-
Philipp Thomas