compilation error with libdvdcss-1.2.8

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
edveeinc

compilation error with libdvdcss-1.2.8

Postby edveeinc » 03 Nov 2004 17:01

I have downloaded libdvdcss-1.2.8. I have attempted to compile under msys and mingw under Windows XP. These are the error messages :

C:\msys\1.0\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe: warning: cannot find entry symbol _DllMainCRTStartup@12; defaulting to 00401000
C:/msys/1.0/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to `WinMain@16'
make[3]: *** [libdvdcss.la] Error 1
make[3]: Leaving directory `/c/NG/vlc-0.7.2/libdvdcss-1.2.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/NG/vlc-0.7.2/libdvdcss-1.2.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/NG/vlc-0.7.2/libdvdcss-1.2.8'
make: *** [all] Error 2

Have anyone run into this?

vy

danber
New Cone
New Cone
Posts: 3
Joined: 04 Nov 2004 13:00

Postby danber » 04 Nov 2004 13:11

Same prob here :cry:

gbryan

Postby gbryan » 06 Dec 2004 12:50

I was able to fix this problem by adding an empty main() function to one of the libdvdcss source files, for example in error.c add:

int main()
{
}

I was than ableto build libdvdcss-2.dll without problems


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Verezubov and 17 guests