Xine-lib fails to compile
"Zach Wegner" <[email protected]>
| Newsgroups | gmane.comp.video.xine.user |
|---|---|
| Message-ID | <[email protected]> |
I've been trying to get xine-lib (both 1.1.8 and 1.1.10.1) to compile on a NetBSD4.0/amd64 box, to no avail. It configures fine, except for a few warnings: ................ checking X11/extensions/XShm.h usability... no checking X11/extensions/XShm.h presence... yes configure: WARNING: X11/extensions/XShm.h: present but cannot be compiled configure: WARNING: X11/extensions/XShm.h: check for missing prerequisite headers? configure: WARNING: X11/extensions/XShm.h: see the Autoconf documentation configure: WARNING: X11/extensions/XShm.h: section "Present But Cannot Be Compiled" configure: WARNING: X11/extensions/XShm.h: proceeding with the preprocessor's result configure: WARNING: X11/extensions/XShm.h: in the future, the compiler will take precedence checking for X11/extensions/XShm.h... yes checking for AALIB version >= 1.4... no *** Could not run AALIB test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding AALIB or finding the wrong *** version of AALIB. If it is not finding AALIB, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** *** All of AALIB dependent parts will be disabled *** configure: WARNING: Don't have OS CD-reading support for netbsd4.0... configure: WARNING: Will use generic support. ...................... Then, when I try to compile, I get an error in src/audio_out/: audio_oss_out.c:431: error: 'SNDCTL_DSP_GETODELAY' undeclared (first use in this function) OK, so no OSS audio. I read that OSS is not in NetBSD, or something like that...? Anyways, I reconfigured with --disable-oss and then tried to make, but got a whole heap of errors: ............... .libs/xineplug_vo_out_xshm_la-yuv2rgb.o: In function `yuv2rgb_factory_dispose': /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:3186: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:3187: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-yuv2rgb.o: In function `yuv2rgb_dispose': /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:106: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:107: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:108: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-yuv2rgb.o: In function `yuv2rgb_set_csc_levels': /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2427: undefined reference to `__sF' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2427: undefined reference to `fprintf' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2427: undefined reference to `abort' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2330: undefined reference to `malloc' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2314: undefined reference to `malloc' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2373: undefined reference to `malloc' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2282: undefined reference to `malloc' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2400: undefined reference to `malloc' .libs/xineplug_vo_out_xshm_la- yuv2rgb.o:/root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:3197: more undefined references to `malloc' follow .libs/xineplug_vo_out_xshm_la-yuv2rgb.o: In function `yuv2rgb_factory_init': /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2602: undefined reference to `__sF' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2602: undefined reference to `fprintf' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:2602: undefined reference to `abort' .libs/xineplug_vo_out_xshm_la-yuv2rgb.o: In function `yuv2rgb_configure': /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:138: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:142: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:146: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-yuv2rgb.o: In function `yuv2rgb_factory_dispose': /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:3188: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-yuv2rgb.o: In function `yuv2rgb_dispose': /root/Desktop/xine-lib-1.1.8/src/video_out/yuv2rgb.c:112: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `create_ximage': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:212: undefined reference to `shmget' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:224: undefined reference to `shmat' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:247: undefined reference to `shmdt' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:248: undefined reference to `__shmctl13' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:217: undefined reference to `__errno' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:217: undefined reference to `strerror' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:230: undefined reference to `__shmctl13' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:260: undefined reference to `__shmctl13' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `HandleXError': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:151: undefined reference to `printf' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `xshm_alloc_frame': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:402: undefined reference to `memcpy' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `xshm_update_frame_format': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:303: undefined reference to `shmdt' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:305: undefined reference to `__shmctl13' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:538: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:542: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:546: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `xshm_frame_dispose': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:303: undefined reference to `shmdt' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:305: undefined reference to `__shmctl13' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:387: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:388: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:389: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `xshm_open_plugin_2': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:303: undefined reference to `shmdt' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:305: undefined reference to `__shmctl13' /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:1039: undefined reference to `malloc' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `xshm_dispose_class': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:1309: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `xshm_dispose': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:1014: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-video_out_xshm.o: In function `xshm_frame_dispose': /root/Desktop/xine-lib-1.1.8/src/video_out/video_out_xshm.c:390: undefined reference to `free' .libs/xineplug_vo_out_xshm_la-x11osd.o: In function `x11osd_create': /root/Desktop/xine-lib-1.1.8/src/video_out/x11osd.c:369: undefined reference to `free' /root/Desktop/xine-lib-1.1.8/src/video_out/x11osd.c:369: undefined reference to `free' .libs/xineplug_vo_out_xshm_la- x11osd.o:/root/Desktop/xine-lib-1.1.8/src/video_out/x11osd.c:401: more undefined references to `free' follow ...................... I'm wondering if anyone knows how to fix this, or if anyone knows why xine-ui and other xine apps are in pkgsrc, while xine-lib is not. Thanks, Zach ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ xine-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xine-user