Cygwin make error

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

Cygwin make error

Postby Matt » 21 Feb 2004 06:27

Hello,
I followed the instructions in install.win32 for cygwin and the configuration works fine, but when i try to 'make' i eventually get the following error...

if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/win32/include -I/
usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include
`top_builddir="../../.." ../../../vlc-config --cflags plugin playlist` -Wsign-co
mpare -Wall -mms-bitfields -finline-limit-30000 -pipe -MT libplaylist_plugin_a-
playlist.o -MD -MP -MF ".deps/libplaylist_plugin_a-playlist.Tpo" \
-c -o libplaylist_plugin_a-playlist.o `test -f 'playlist.c' || echo './'`playl
ist.c; \
then mv -f ".deps/libplaylist_plugin_a-playlist.Tpo" ".deps/libplaylist_plugin_a
-playlist.Po"; \
else rm -f ".deps/libplaylist_plugin_a-playlist.Tpo"; exit 1; \
fi
playlist.c:30:22: playlist.h: No such file or directory
playlist.c: In function `vlc_entry__snapshot_20040219':
playlist.c:41: error: `Import_Old' undeclared (first use in this function)
playlist.c:41: error: (Each undeclared identifier is reported only once
playlist.c:41: error: for each function it appears in.)
playlist.c:47: error: `Import_M3U' undeclared (first use in this function)
playlist.c:47: error: `Close_M3U' undeclared (first use in this function)
playlist.c:52: error: `Import_PLS' undeclared (first use in this function)
playlist.c:52: error: `Close_PLS' undeclared (first use in this function)
make[6]: *** [libplaylist_plugin_a-playlist.o] Error 1
make[6]: Leaving directory `/cygdrive/c/vlccyg/snap/modules/demux/playlist'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/cygdrive/c/vlccyg/snap/modules/demux/playlist'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/vlccyg/snap/modules/demux'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/vlccyg/snap/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/vlccyg/snap/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlccyg/snap'
make: *** [all] Error 2


if anyone know's how this can be avoided please let me know, any suggestions would be appreciated,
thanks.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 22 Feb 2004 01:36

Sorry about that, a file was missing in the snapshots. Should be fixed in the next one.

Guest

Postby Guest » 22 Feb 2004 22:55

Does anyone which recent snapshots definitely compile ok using cygwin, following the instructions in install.win32???
Thanks :)

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 23 Feb 2004 00:31

I just had precisely the same error set crop up, trying to compile under mingw, current snapshot of vlc.

The "undeclared" functions that playlist.c is generating errors against appear to be in the other .c files in that directory. (old.c, pls.c, m3u.c).

No clue how to tell playlist.c that those things will appear shortly -- is there a compiler switch that needs to go in the makefile?

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Snapshot missing a file

Postby markfm » 23 Feb 2004 13:51

There's a newer snapshot, with a playlist.h file in the directory where the make was going bad. (the errors were a lack of a header file, referencing the "undeclared" functions that appear in the other .c files)

Matt

Postby Matt » 23 Feb 2004 15:18

Hi, now that i have the replaced playlist.h file I am still encountering an error...
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I. -I./intl -I/usr/win32/include -I
/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I./include `top_b
uilddir="." ./vlc-config --cflags vlc` -Wsign-compare -Wall -mms-bitfields -fin
line-limit-30000 -pipe -MT src/vlc-vlc.o -MD -MP -MF "src/.deps/vlc-vlc.Tpo" \
-c -o src/vlc-vlc.o `test -f 'src/vlc.c' || echo './'`src/vlc.c; \
then mv -f "src/.deps/vlc-vlc.Tpo" "src/.deps/vlc-vlc.Po"; \
else rm -f "src/.deps/vlc-vlc.Tpo"; exit 1; \
fi
windres -DVERSION=snapshot-20040219 -DVERSION_NUMBER=`echo snapshot-20040219.0.0
.0 | sed 's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\
1,\2,\3,\4/'` --include-dir ./share -i share/vlc_win32_rc.rc -o share/vlc_win32_
rc.o
windres: share/vlc_win32_rc.rc:15: parse error
make[2]: *** [share/vlc_win32_rc.o] Error 1
make[2]: Leaving directory `/cygdrive/c/v/f19/vlc-snapshot-20040219'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/v/f19/vlc-snapshot-20040219'
make: *** [all] Error 2

this one really has me stumped.... any suggestions will be appreciated,
thanks,
Matt

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 23 Feb 2004 15:27

This has just recently been answered in the forum

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 24 Feb 2004 02:05

'remove the offending line, snapshots don't have valid win32 version strings'
Don't use PMs for support questions.

Matt

Postby Matt » 24 Feb 2004 05:29

Oh, thanks, you have all been very helpful, i really appreciate it. :D


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests