Portál AbcLinuxu, 15. července 2025 13:51
-o /home/lukas/Desktop/blender/obj/linux-glibc2.3.3-i386/gameengine/GamePlayer/netscape/src/Blender3DPlugin_nati ve_implementation.o In file included from Blender3DPlugin_native_implementation.c:46: blender_plugin_types.h:53:51: prlock.h: No such file or directory In file included from Blender3DPlugin_native_implementation.c:46: blender_plugin_types.h:136: error: syntax error before "PRLock" blender_plugin_types.h:136: warning: no semicolon at end of struct or union blender_plugin_types.h:141: warning: type defaults to `int' in declaration of `window_ready_lock' blender_plugin_types.h:141: warning: data definition has no type or storage class blender_plugin_types.h:227: error: syntax error before '}' token blender_plugin_types.h:227: warning: type defaults to `int' in declaration of `BlenderPluginInstance' blender_plugin_types.h:227: warning: data definition has no type or storage class Blender3DPlugin_native_implementation.c: In function `native_Blender3DPlugin_blenderURL': Blender3DPlugin_native_implementation.c:64: warning: cast does not match function type Blender3DPlugin_native_implementation.c:65: error: `inst' undeclared (first use in this function) Blender3DPlugin_native_implementation.c:65: error: (Each undeclared identifier is reported only once Blender3DPlugin_native_implementation.c:65: error: for each function it appears in.) Blender3DPlugin_native_implementation.c:70: error: syntax error before ')' token Blender3DPlugin_native_implementation.c:64: warning: unused variable `npp' Blender3DPlugin_native_implementation.c: In function `native_Blender3DPlugin_SendMessage': Blender3DPlugin_native_implementation.c:93: warning: cast does not match function type Blender3DPlugin_native_implementation.c:94: error: `inst' undeclared (first use in this function) Blender3DPlugin_native_implementation.c:99: error: syntax error before ')' token Blender3DPlugin_native_implementation.c:93: warning: unused variable `npp' Blender3DPlugin_native_implementation.c: At top level: Blender3DPlugin_native_implementation.c:129: warning: unused parameter 'msg' make[5]: *** [/home/lukas/Desktop/blender/obj/linux-glibc2.3.3-i386/gameengine/GamePlayer/netscape/src/Blender3DPlugin_n ative_implementation.o] Error 1 make[4]: *** [all] Error 1 make[3]: *** [all] Error 1 make[2]: *** [all] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
[ivok@zero ~]$ urpmf prlock.h libnspr4-devel:/usr/include/mozilla-firefox-1.0.1/nspr/prlock.h mozilla-thunderbird-devel:/usr/include/mozilla-thunderbird-1.0/nspr/prlock.h nvu-devel:/usr/include/nvu-0.81/nspr/prlock.hmožná tam ještě někde budete muset zadat cesty ... Jinak samozřejmě nejjednodušší je nainstalovat RPM balíček a kompilování se vyhnout.
rpmbuild -ba --target i686 /cesta/k/SPECS/blender.specpřípadně si ještě pohrát s optflags... Jde to i zkrátit na rpmbuild --rebuild blender*.src.rpm. Když ti budou chybět nějaké devel balíčky, tak si o ně rpmbuild řekne.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.