Hello, everyone
I am compiling the vlc-0.8.6e source code recently, if I run the commands in this order, it'll be OK:
./configure --prefix=XXX --disable-XXX ... ...
make
make install
but if I run bootstrap first, it'll be wrong
./bootstrap
Error: /usr/bin/automake: unrecognized option '-Wall'
So I removed the option "Wall", and it works(the automake version is 1.6).
./configure --prefix=XXX --disable-XXX ... ...
No Error
make
Error: vlc-vlc.o: In function 'main':
vlc-vlc.o(.text+0x1f):vlc.c: undefined reference to `VLC_Version'
vlc-vlc.o(.text+0x4c):vlc.c: undefined reference to `rootwrap'
vlc-vlc.o(.text+0x51):vlc.c: undefined reference to `VLC_Create'
vlc-vlc.o(.text+0x6f):vlc.c: undefined reference to `VLC_Init'
vlc-vlc.o(.text+0x99):vlc.c: undefined reference to `VLC_AddIntf'
vlc-vlc.o(.text+0xa7):vlc.c: undefined reference to `VLC_CleanUp'
vlc-vlc.o(.text+0xb3):vlc.c: undefined reference to `VLC_Destroy'
vlc-vlc.o(.text+0xd9):vlc.c: undefined reference to `VLC_Destroy'
... ... ...
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/src/vlc-0.8.6e'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/vlc-0.8.6e'
make: *** [all] Error 2
I thought the reason is it couldn't find the right library in the right place(actually, it is there). But I don't know how to solve it, so I need your help .
BTW, I changed nothing about the source code and config files.
Regards.