Postby Robstarusa » 05 Dec 2008 22:11
EDIT: It seem as if this is impossible. I will try shared. I'd prefer static to get rid of dependency issues.
I tried to build this as a static binary but it didn't work:
make[4]: Leaving directory `/home/hendero/vlc/vlc-0.9.8a/src/test'
make[3]: Leaving directory `/home/hendero/vlc/vlc-0.9.8a/src'
make[2]: Leaving directory `/home/hendero/vlc/vlc-0.9.8a/src'
Making all in libs/srtp
make[2]: Entering directory `/home/hendero/vlc/vlc-0.9.8a/libs/srtp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hendero/vlc/vlc-0.9.8a/libs/srtp'
Making all in bin
make[2]: Entering directory `/home/hendero/vlc/vlc-0.9.8a/bin'
/bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 `top_builddir=".." ..
/vlc-config --cflags vlc` -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -
Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-
register-var `top_builddir=".." ../vlc-config --ldflags vlc` -o vlc vlc-vlc.o .
./src/libvlc.la ../src/libvlccore.la `top_builddir=".." ../vlc-config -libs vlc
`
libtool: link: gcc -std=gnu99 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__US
E_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -DMODU
LE_NAME=vlc -DMODULE_NAME_IS_vlc -DMODULE_STRING=\"vlc\" -O3 -ffast-math -funrol
l-loops -mtune=athlon64 -fomit-frame-pointer -Wall -Wextra -Wsign-compare -Wunde
f -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-pro
totypes -Wvolatile-register-var -o vlc vlc-vlc.o ../src/.libs/libvlc.a -L//lib
/home/hendero/vlc/vlc-0.9.8a/src/.libs/libvlccore.a ../src/.libs/libvlccore.a /l
ib/libgcrypt.so -lhal -ldbus-1 -lrt -lpthread -ldl -lm
/home/hendero/vlc/vlc-0.9.8a/src/.libs/libvlccore.a(libvlccore_la-modules.o): In
function `__module_LoadBuiltins':
modules.c:(.text+0x17f7): undefined reference to `vlc_entry__a52'
modules.c:(.text+0x1804): undefined reference to `vlc_entry__a52tofloat32'
modules.c:(.text+0x1811): undefined reference to `vlc_entry__a52tospdif'
modules.c:(.text+0x181e): undefined reference to `vlc_entry__access_dv'
modules.c:(.text+0x182b): undefined reference to `vlc_entry__access_filter_bandw
idth'
modules.c:(.text+0x1838): undefined reference to `vlc_entry__access_filter_dump'
modules.c:(.text+0x1858): undefined reference to `vlc_entry__access_filter_recor
d'
modules.c:(.text+0x1890): undefined reference to `vlc_entry__access_filter_times
hift'
modules.c:(.text+0x18c8): undefined reference to `vlc_entry__access_jack'
modules.c:(.text+0x1900): undefined reference to `vlc_entry__access_mmap'
modules.c:(.text+0x1938): undefined reference to `vlc_entry__access_smb'
modules.c:(.text+0x1970): undefined reference to `vlc_entry__adjust'
modules.c:(.text+0x19a8): undefined reference to `vlc_entry__adpcm'
modules.c:(.text+0x19e0): undefined reference to `vlc_entry__alphamask'
modules.c:(.text+0x1a18): undefined reference to `vlc_entry__alsa'
modules.c:(.text+0x1a50): undefined reference to `vlc_entry__aout_file'
modules.c:(.text+0x1a88): undefined reference to `vlc_entry__aout_sdl'
modules.c:(.text+0x1ac0): undefined reference to `vlc_entry__araw'
modules.c:(.text+0x1af8): undefined reference to `vlc_entry__asf'
modules.c:(.text+0x1b30): undefined reference to `vlc_entry__atmo'
modules.c:(.text+0x1b68): undefined reference to `vlc_entry__audio_format'
modules.c:(.text+0x1ba0): undefined reference to `vlc_entry__audioscrobbler'
modules.c:(.text+0x1bd8): undefined reference to `vlc_entry__avcodec'
modules.c:(.text+0x1c10): undefined reference to `vlc_entry__avformat'
modules.c:(.text+0x1c48): undefined reference to `vlc_entry__avi'
modules.c:(.text+0x1c80): undefined reference to `vlc_entry__bandlimited_resampl
er'
modules.c:(.text+0x1cb8): undefined reference to `vlc_entry__blend'
modules.c:(.text+0x1cf0): undefined reference to `vlc_entry__blendbench'
modules.c:(.text+0x1d28): undefined reference to `vlc_entry__bluescreen'
modules.c:(.text+0x1d60): undefined reference to `vlc_entry__bonjour'
modules.c:(.text+0x1d98): undefined reference to `vlc_entry__canvas'
modules.c:(.text+0x1dd0): undefined reference to `vlc_entry(char, char)'
modules.c:(.text+0x1e08): undefined reference to `vlc_entry__cdda'
modules.c:(.text+0x1e40): undefined reference to `vlc_entry__cdg'
modules.c:(.text+0x1e78): undefined reference to `vlc_entry__chain'
modules.c:(.text+0x1eb0): undefined reference to `vlc_entry__cinepak'
modules.c:(.text+0x1ee8): undefined reference to `vlc_entry__clone'
modules.c:(.text+0x1f20): undefined reference to `vlc_entry__cmml'
modules.c:(.text+0x1f58): undefined reference to `vlc_entry__colorthres'
modules.c:(.text+0x1f90): undefined reference to `vlc_entry__converter_fixed'
modules.c:(.text+0x1fc8): undefined reference to `vlc_entry__converter_float'
modules.c:(.text+0x2000): undefined reference to `vlc_entry__crop'
modules.c:(.text+0x2038): undefined reference to `vlc_entry__croppadd'
modules.c:(.text+0x2070): undefined reference to `vlc_entry(char, void, double,
short, bool __restrict)'
modules.c:(.text+0x20a8): undefined reference to `vlc_entry(double, bool, short
__restrict)'
modules.c:(.text+0x20e0): undefined reference to `vlc_entry__deinterlace'
modules.c:(.text+0x2118): undefined reference to `vlc_entry__dolby_surround_deco
der'
modules.c:(.text+0x2150): undefined reference to `vlc_entry__dts'
modules.c:(.text+0x2188): undefined reference to `vlc_entry__dtstospdif'
modules.c:(.text+0x21c0): undefined reference to `vlc_entry__dummy'
modules.c:(.text+0x21f8): undefined reference to `vlc_entry(double, void, bool)'
modules.c:(.text+0x2230): undefined reference to `vlc_entry(double, void, bool)'
modules.c:(.text+0x2258): undefined reference to `vlc_entry(double, void, bool,
short, bool __restrict)'
modules.c:(.text+0x2265): undefined reference to `vlc_entry__dvdnav'
modules.c:(.text+0x2272): undefined reference to `vlc_entry__dvdread'
modules.c:(.text+0x227f): undefined reference to `vlc_entry__dynamicoverlay'
modules.c:(.text+0x228c): undefined reference to `vlc_entry__equalizer'
modules.c:(.text+0x2299): undefined reference to `vlc_entry__erase'
modules.c:(.text+0x22a6): undefined reference to `vlc_entry__export'
modules.c:(.text+0x22b3): undefined reference to `vlc_entry__extract'
modules.c:(.text+0x22c0): undefined reference to `vlc_entry__fake'
modules.c:(.text+0x22cd): undefined reference to `vlc_entry(float, bool)'
modules.c:(.text+0x22da): undefined reference to `vlc_entry__flac'
modules.c:(.text+0x22e7): undefined reference to `vlc_entry__float32_mixer'
modules.c:(.text+0x22f4): undefined reference to `vlc_entry__folder'
modules.c:(.text+0x2301): undefined reference to `vlc_entry__freetype'
modules.c:(.text+0x230e): undefined reference to `vlc_entry__galaktos'
modules.c:(.text+0x231b): undefined reference to `vlc_entry__galaktos'
modules.c:(.text+0x2328): undefined reference to `vlc_entry__gaussianblur'
modules.c:(.text+0x2335): undefined reference to `vlc_entry__gestures'
modules.c:(.text+0x2342): undefined reference to `vlc_entry__glx'
modules.c:(.text+0x234f): undefined reference to `vlc_entry__gnutls'
modules.c:(.text+0x235c): undefined reference to `vlc_entry__gradient'
modules.c:(.text+0x2369): undefined reference to `vlc_entry__grain'
modules.c:(.text+0x2376): undefined reference to `vlc_entry__grey_yuv'
modules.c:(.text+0x2383): undefined reference to `vlc_entry__h264'
modules.c:(.text+0x2390): undefined reference to `vlc_entry__hal'
modules.c:(.text+0x239d): undefined reference to `vlc_entry__headphone_channel_m
ixer'
modules.c:(.text+0x23aa): undefined reference to `vlc_entry__hotkeys'
modules.c:(.text+0x23b7): undefined reference to `vlc_entry__http'
modules.c:(.text+0x23c4): undefined reference to `vlc_entry__i420_rgb'
modules.c:(.text+0x23d1): undefined reference to `vlc_entry__i420_rgb_mmx'
modules.c:(.text+0x23de): undefined reference to `vlc_entry__i420_rgb_sse2'
modules.c:(.text+0x23eb): undefined reference to `vlc_entry__i420_ymga'
modules.c:(.text+0x23f8): undefined reference to `vlc_entry__i420_ymga_mmx'
modules.c:(.text+0x2405): undefined reference to `vlc_entry__i420_yuy2'
modules.c:(.text+0x2412): undefined reference to `vlc_entry__i420_yuy2_mmx'
modules.c:(.text+0x241f): undefined reference to `vlc_entry__i420_yuy2_sse2'
modules.c:(.text+0x242c): undefined reference to `vlc_entry__i422_i420'
modules.c:(.text+0x2439): undefined reference to `vlc_entry__i422_yuy2'
modules.c:(.text+0x2446): undefined reference to `vlc_entry__i422_yuy2_mmx'
modules.c:(.text+0x2453): undefined reference to `vlc_entry__i422_yuy2_sse2'
modules.c:(.text+0x2460): undefined reference to `vlc_entry(int, double, tag)'
modules.c:(.text+0x246d): undefined reference to `vlc_entry__image'
modules.c:(.text+0x247a): undefined reference to `vlc_entry__imgresample'
modules.c:(.text+0x2487): undefined reference to `vlc_entry__inhibit'
modules.c:(.text+0x2494): undefined reference to `vlc_entry__invert'
modules.c:(.text+0x24a1): undefined reference to `vlc_entry__jack'
modules.c:(.text+0x24ae): undefined reference to `vlc_entry__libmpeg2'
modules.c:(.text+0x24bb): undefined reference to `vlc_entry__linear_resampler'
modules.c:(.text+0x24c8): undefined reference to `vlc_entry(long, int, long doub
le, char)'
modules.c:(.text+0x24d5): undefined reference to `vlc_entry__live555'
modules.c:(.text+0x24e2): undefined reference to `vlc_entry__logger'
modules.c:(.text+0x24ef): undefined reference to `vlc_entry__logo'
modules.c:(.text+0x24fc): undefined reference to `vlc_entry__lpcm'
modules.c:(.text+0x2509): undefined reference to `vlc_entry__m4a'
modules.c:(.text+0x2516): undefined reference to `vlc_entry__m4v'
modules.c:(.text+0x2523): undefined reference to `vlc_entry__magnify'
modules.c:(.text+0x2530): undefined reference to `vlc_entry__marq'
modules.c:(.text+0x253d): undefined reference to `vlc_entry__memcpy'
modules.c:(.text+0x254a): undefined reference to `vlc_entry__memcpy3dn'
modules.c:(.text+0x2557): undefined reference to `vlc_entry__memcpymmx'
modules.c:(.text+0x2564): undefined reference to `vlc_entry__memcpymmxext'
modules.c:(.text+0x2571): undefined reference to `vlc_entry__mkv'
modules.c:(.text+0x257e): undefined reference to `vlc_entry__mod'
modules.c:(.text+0x258b): undefined reference to `vlc_entry__mono'
modules.c:(.text+0x2598): undefined reference to `vlc_entry__mosaic'
modules.c:(.text+0x25a5): undefined reference to `vlc_entry__motion'
modules.c:(.text+0x25b2): undefined reference to `vlc_entry__motionblur'
modules.c:(.text+0x25bf): undefined reference to `vlc_entry__motiondetect'
modules.c:(.text+0x25cc): undefined reference to `vlc_entry__mp4'
modules.c:(.text+0x25d9): undefined reference to `vlc_entry__mpc'
modules.c:(.text+0x25e6): undefined reference to `vlc_entry__mpeg_audio'
modules.c:(.text+0x25f3): undefined reference to `vlc_entry__mpga'
modules.c:(.text+0x2600): undefined reference to `vlc_entry__mpgatofixed32'
modules.c:(.text+0x260d): undefined reference to `vlc_entry__mpgv'
modules.c:(.text+0x261a): undefined reference to `vlc_entry__mux_ogg'
modules.c:(.text+0x2627): undefined reference to `vlc_entry__mux_ts'
modules.c:(.text+0x2634): undefined reference to `vlc_entry__noise'
modules.c:(.text+0x2641): undefined reference to `vlc_entry__normvol'
modules.c:(.text+0x264e): undefined reference to `vlc_entry__notify'
modules.c:(.text+0x265b): undefined reference to `vlc_entry__nsc'
modules.c:(.text+0x2668): undefined reference to `vlc_entry__ogg'
modules.c:(.text+0x2675): undefined reference to `vlc_entry__opengl'
modules.c:(.text+0x2682): undefined reference to `vlc_entry__opengl'
modules.c:(.text+0x268f): undefined reference to `vlc_entry__osd_parser'
modules.c:(.text+0x269c): undefined reference to `vlc_entry__osdmenu'
modules.c:(.text+0x26a9): undefined reference to `vlc_entry__oss'
modules.c:(.text+0x26b6): undefined reference to `vlc_entry__panoramix'
modules.c:(.text+0x26c3): undefined reference to `vlc_entry__param_eq'
modules.c:(.text+0x26d0): undefined reference to `vlc_entry__playlist'
modules.c:(.text+0x26dd): undefined reference to `vlc_entry__png'
modules.c:(.text+0x26ea): undefined reference to `vlc_entry__podcast'
modules.c:(.text+0x26f7): undefined reference to `vlc_entry__postproc'
modules.c:(.text+0x2704): undefined reference to `vlc_entry__probe_hal'
modules.c:(.text+0x2711): undefined reference to `vlc_entry(short *)'
modules.c:(.text+0x271e): undefined reference to `vlc_entry__psychedelic'
modules.c:(.text+0x272b): undefined reference to `vlc_entry(long __restrict *, s
hort,...)'
modules.c:(.text+0x2738): undefined reference to `vlc_entry__puzzle'
modules.c:(.text+0x2745): undefined reference to `vlc_entry(void *, long double)
'
modules.c:(.text+0x2752): undefined reference to `vlc_entry__qt4'
modules.c:(.text+0x275f): undefined reference to `vlc_entry__rawvideo'
modules.c:(.text+0x276c): undefined reference to `vlc_entry(long double, char)'
modules.c:(.text+0x2779): undefined reference to `vlc_entry__realaudio'
modules.c:(.text+0x2786): undefined reference to `vlc_entry__realvideo'
modules.c:(.text+0x2793): undefined reference to `vlc_entry__remoteosd'
modules.c:(.text+0x27a0): undefined reference to `vlc_entry(long double, int, lo
ng **,...)'
modules.c:(.text+0x27ad): undefined reference to `vlc_entry__rotate'
modules.c:(.text+0x27ba): undefined reference to `vlc_entry(long double, short,
short)'
modules.c:(.text+0x27c7): undefined reference to `vlc_entry__rv32'
modules.c:(.text+0x27d4): undefined reference to `vlc_entry__sap'
modules.c:(.text+0x27e1): undefined reference to `vlc_entry__scale'
modules.c:(.text+0x27ee): undefined reference to `vlc_entry__scaletempo'
modules.c:(.text+0x27fb): undefined reference to `vlc_entry__screen'
modules.c:(.text+0x2808): undefined reference to `vlc_entry__screensaver'
modules.c:(.text+0x2815): undefined reference to `vlc_entry__sdl_image'
modules.c:(.text+0x2822): undefined reference to `vlc_entry__sharpen'
modules.c:(.text+0x282f): undefined reference to `vlc_entry__shout'
modules.c:(.text+0x283c): undefined reference to `vlc_entry__showintf'
modules.c:(.text+0x2849): undefined reference to `vlc_entry__signals'
modules.c:(.text+0x2856): undefined reference to `vlc_entry__simple_channel_mixe
r'
modules.c:(.text+0x2863): undefined reference to `vlc_entry__skins2'
modules.c:(.text+0x2870): undefined reference to `vlc_entry__snapshot'
modules.c:(.text+0x287d): undefined reference to `vlc_entry__spatializer'
modules.c:(.text+0x288a): undefined reference to `vlc_entry__spdif_mixer'
modules.c:(.text+0x2897): undefined reference to `vlc_entry__speex'
modules.c:(.text+0x28a4): undefined reference to `vlc_entry(short, double __rest
rict *,...)(char)'
modules.c:(.text+0x28b1): undefined reference to `vlc_entry__stats'
modules.c:(.text+0x28be): undefined reference to `vlc_entry(short, bool __restri
ct, short, double,...)(char)'
modules.c:(.text+0x28cb): undefined reference to `vlc_entry(short, bool __restri
ct, short, short __restrict, float)'
modules.c:(.text+0x28d8): undefined reference to `vlc_entry(short, void, char, d
ouble, short, bool __restrict)'
modules.c:(.text+0x28e5): undefined reference to `vlc_entry__t140'
modules.c:(.text+0x28f2): undefined reference to `vlc_entry__telepathy'
modules.c:(.text+0x28ff): undefined reference to `vlc_entry__telnet'
modules.c:(.text+0x290c): undefined reference to `vlc_entry__telx'
modules.c:(.text+0x2919): undefined reference to `vlc_entry__theora'
modules.c:(.text+0x2926): undefined reference to `vlc_entry__transform'
modules.c:(.text+0x2933): undefined reference to `vlc_entry__trivial_channel_mix
er'
modules.c:(.text+0x2940): undefined reference to `vlc_entry__trivial_mixer'
modules.c:(.text+0x294d): undefined reference to `vlc_entry__trivial_resampler'
modules.c:(.text+0x295a): undefined reference to `vlc_entry__ts'
modules.c:(.text+0x2967): undefined reference to `vlc_entry__twolame'
modules.c:(.text+0x2974): undefined reference to `vlc_entry__ugly_resampler'
modules.c:(.text+0x2981): undefined reference to `vlc_entry__v4l'
modules.c:(.text+0x298e): undefined reference to `vlc_entry__v4l2'
modules.c:(.text+0x299b): undefined reference to `vlc_entry(void, char, double)'
modules.c:(.text+0x29a8): undefined reference to `vlc_entry__visual'
modules.c:(.text+0x29b5): undefined reference to `vlc_entry__vmem'
modules.c:(.text+0x29c2): undefined reference to `vlc_entry__vorbis'
modules.c:(.text+0x29cf): undefined reference to `vlc_entry__vout_sdl'
modules.c:(.text+0x29dc): undefined reference to `vlc_entry__wall'
modules.c:(.text+0x29e9): undefined reference to `vlc_entry__wave'
modules.c:(.text+0x29f6): undefined reference to `vlc_entry__x11'
modules.c:(.text+0x2a03): undefined reference to `vlc_entry__xml'
modules.c:(.text+0x2a10): undefined reference to `vlc_entry__xtag'
modules.c:(.text+0x2a1d): undefined reference to `vlc_entry__xvideo'
modules.c:(.text+0x2a2a): undefined reference to `vlc_entry__yuy2_i420'
modules.c:(.text+0x2a3b): undefined reference to `vlc_entry__yuy2_i422'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/hendero/vlc/vlc-0.9.8a/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hendero/vlc/vlc-0.9.8a'
make: *** [all] Error 2