libblendbench_plugin_la-blendbench.lo Error on Cygwin

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
vinoa
New Cone
New Cone
Posts: 8
Joined: 11 Mar 2008 07:35

libblendbench_plugin_la-blendbench.lo Error on Cygwin

Postby vinoa » 11 Apr 2008 07:40

Hi all,

I update my win32 contrib package from contrib-20080215-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only to contrib-20080308-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only(and also I git up vlc) , and during compiling VLC on Cygwin, I got an error
blendbench.c:122: error: conflicting type for 'LoadImageA'
/usr/include/w32api/winuser.h:3808: error: previous declaration of 'LoadImageA'
../../include/vlc_fixups.h:114: warning: 'localtime_r' defined but not used
make[4]: *** [libblendbench_plugin_la-blendbench.lo] error 1
make[4]: Leaving directory '/home/admin/vlc/modules/video_filter'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory 'home/admin/vlc/modules/video_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 'home/admin/vlc.modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/admin/vlc'
make: *** [all] Error 2
Does anyone know a solution for this problem?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin

Postby VLC_help » 12 Apr 2008 17:36

One way might be to remove vlc/modules/video_filter/blendbench.c or edit it and replace all LoadImageA with LoadImageAAAA for example.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin

Postby VLC_help » 12 Apr 2008 23:23

Update:
Replacing LoadImage with LoadImageAA in blendbench.c fixes that, but compiling stops to dynamicoverlay_commands.c which has multiple errors.

Code: Select all

dynamicoverlay_commands.c:37:21: sys/shm.h: No such file or directory dynamicoverlay_commands.c: In function `exec_DataSharedMem': dynamicoverlay_commands.c:414: error: storage size of 'shminfo' isn't known dynamicoverlay_commands.c:427: warning: implicit declaration of function `shmctl ' dynamicoverlay_commands.c:427: error: `IPC_STAT' undeclared (first use in this f unction) dynamicoverlay_commands.c:427: error: (Each undeclared identifier is reported on ly once dynamicoverlay_commands.c:427: error: for each function it appears in.) dynamicoverlay_commands.c:465: warning: implicit declaration of function `shmat' dynamicoverlay_commands.c:465: error: `SHM_RDONLY' undeclared (first use in this function) dynamicoverlay_commands.c:465: warning: assignment makes pointer from integer wi thout a cast dynamicoverlay_commands.c:476: warning: implicit declaration of function `shmdt' dynamicoverlay_commands.c:521: warning: assignment makes pointer from integer wi thout a cast dynamicoverlay_commands.c:414: warning: unused variable `shminfo' dynamicoverlay_commands.c: In function `UnregisterCommand': dynamicoverlay_commands.c:926: warning: passing arg 1 of `free' discards qualifi ers from pointer target type

VladimirBelousov
New Cone
New Cone
Posts: 1
Joined: 13 Apr 2008 15:40

Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin

Postby VladimirBelousov » 13 Apr 2008 15:44

You need to do these steps:
1) replace all 'LoadImage' -> 'LoadImage1' in "modules\video_filter\blendbench.c"
2) the first line of "modules/video_filter/dynamicoverlay/Modules.am" must be
'if !HAVE_WIN32'
and the last
'endif'
Just add these two lines.

Of course, after that bootstrap, reconfigure, make and enjoy!

jpsaman
Blank Cone
Blank Cone
Posts: 11
Joined: 19 Jun 2004 13:11
Contact:

Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin

Postby jpsaman » 13 Apr 2008 19:10

Should be solved properly in 698d753f31a1aa0338a04d369c890163a690621b.

If there is still a problem, then please report on vlc-devel with complete build log.

Thanks for caring.

Gtz
Jean-Paul Saman.
VLC team member see http://www.videolan.org/team for my contributions.

vinoa
New Cone
New Cone
Posts: 8
Joined: 11 Mar 2008 07:35

Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin

Postby vinoa » 14 Apr 2008 08:00

Thanks all for replying.

I tried to build vlc 0.9.0 again today (04/13/2008) on another computer to check and I got a different error (and I am still building vlc 0.9.0 on another laptop).
Creating library file: ./libs/libvlc-control.dll.a
creating libvlc-control.la
/usr/bin/sed: can't read vlc/src/libvlc.la: No such file or directory.
libtool: link: /src/libvlc.la' is not a valid libtool archive

make[3]: ***[libvlc-control.la] Error 1
I have libvlc.la file under vlc/src folder , but not sure about /usr/bin/sed ...
Do you think it could be related with cygwin libtool packages? I have libtool 1.5.

I Really appreciate all your help!!

jpsaman
Blank Cone
Blank Cone
Posts: 11
Joined: 19 Jun 2004 13:11
Contact:

Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin

Postby jpsaman » 14 Apr 2008 08:47

This is a tools issue in cygwin, but j-b and trax have more experience with building under cygwin then I. They must be able to help.

Please forward your report to vlc-devel and you will get quicker attention from vlc developers then using the Forum.

Gtz
Jean-Paul Saman.
VLC team member see http://www.videolan.org/team for my contributions.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 70 guests