Page 1 of 1
libblendbench_plugin_la-blendbench.lo Error on Cygwin
Posted: 11 Apr 2008 07:40
by vinoa
Hi all,
I update my win32 contrib package from c
ontrib-20080215-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only to c
ontrib-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?
Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin
Posted: 12 Apr 2008 17:36
by VLC_help
One way might be to remove vlc/modules/video_filter/blendbench.c or edit it and replace all LoadImageA with LoadImageAAAA for example.
Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin
Posted: 12 Apr 2008 23:23
by VLC_help
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
Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin
Posted: 13 Apr 2008 15:44
by VladimirBelousov
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!
Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin
Posted: 13 Apr 2008 19:10
by jpsaman
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.
Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin
Posted: 14 Apr 2008 08:00
by vinoa
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!!
Re: libblendbench_plugin_la-blendbench.lo Error on Cygwin
Posted: 14 Apr 2008 08:47
by jpsaman
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.