[vlc-devel] using cygwin on windows-Warning Reportable

Rajan Rakesh-A20642 rakeshrajan at motorola.com
Mon Sep 27 08:25:00 CEST 2004


HI,
I get the following waring on compilation using gcc without -mno-cygwin flag.

configure: WARNING: dshow.h: present but cannot be compiled
configure: WARNING: dshow.h:     check for missing prerequisite headers?
configure: WARNING: dshow.h: see the Autoconf documentation
configure: WARNING: dshow.h:     section "Present But Cannot Be Compiled"
configure: WARNING: dshow.h: proceeding with the preprocessor's result
configure: WARNING: dshow.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to the vlc lists.  ##
configure: WARNING:     ## ------------------------------ ##

Regs,
Raks

-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org]On Behalf Of Rajan Rakesh-A20642
Sent: Monday, September 27, 2004 11:43 AM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: Error - using cygwin on windows- Please help


Hi,
It tried to compile a simple HelloWorld program from cygwin bash
by the command

'gcc -mno-cygwin main.c'
 
and I got the error

'installation problem, cannot exec `cc1': No such file or directory'

Is this the same issue I get the error for vlc configure?

'checking for gcc... gcc -mno-cygwin
checking for C compiler default output file name... configure: error: C compiler
 cannot create executables'

By the way my helloworld works for a plain 'gcc main.c'

Install.win32 says

'If you want to use the emulation layer, then just omit the CC="gcc -mno-cygwin"
CXX="g++ -mno-cygwin" line. You're on your own though'

Please advice....

Regs,
Raks

-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org]On Behalf Of Rajan Rakesh-A20642
Sent: Monday, September 27, 2004 9:53 AM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Error - using cygwin on windows- Please help


Hi,
I have switched to cygwin. Since its the preferred way of doing.

Now exactly following the instructions in INSTALL.win32.
Installed contrib-20040902-win32-bin-gcc3.3.1-only in /usr/win32.
Using the configure script given in INSTALL.win32
./bootstrap && \
  CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
  LDFLAGS=-L/usr/win32/lib \
  CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
  ./configure \
      --disable-sdl --disable-gtk \
      --enable-nls \
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
      --enable-faad --enable-flac --enable-theora \
      --with-wx-config-path=/usr/win32/bin \
      --with-freetype-config-path=/usr/win32/bin \
      --with-fribidi-config-path=/usr/win32/bin \
      --enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
      --enable-caca --with-caca-config-path=/usr/win32/bin \
      --with-xml2-config-path=/usr/win32/bin \
      --with-dvdnav-config-path=/usr/win32/bin \
      --disable-cddax --disable-vcdx --enable-goom \
      --enable-debug

I use higher versions of automake, autoconf and gettext mentioned in HACKING file.
automake -version - 1.9.1
autoconf -version - 2.59
gettext -version - 0.14.1

gcc version - gcc version 3.3.3 (cygwin special)

I get the following error. 'C compiler cannot create executables'.
In the maillist archive I could see many has faced this problem, but couldn't find a
solution. I faced the same problem when I tried to cross compile on linux too.
Please give me a solution.

--------------------------------------------------------------------------
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -mno-cygwin
checking for C compiler default output file name... configure: error: C compiler
 cannot create executables
See `config.log' for more details.
-----------------------------------------------------------------------------
The end of config.log is copied here :

build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-cygwin'
host_alias=''
host_cpu='i686'
host_os='cygwin'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/cygdrive/d/raks/vlc-0.7.2/autotools/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-cygwin'
target_alias=''
target_cpu='i686'
target_os='cygwin'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "vlc"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "vlc"
#define PACKAGE_STRING "vlc 0.7.2"
#define PACKAGE_TARNAME "vlc"
#define PACKAGE_VERSION "0.7.2"
#define VERSION "0.7.2"

configure: exit 77

---------------------------------------
Regs,
Rakesh

-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org]On Behalf Of Sigmund Augdal
Sent: Saturday, September 25, 2004 7:15 PM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: Pls help : Error on building vlc with RTSP su
pport


read the HACKING file in the vlc sources, and read the INSTALL.win32 file.
And read them thoroughly, because nearly every question you have asked to
this list up to date is answered there.

Sigmund Augdal

On Sat, Sep 25, 2004 at 07:09:40PM +0530, Rajan Rakesh-A20642 wrote:
> I think configuration is using 'configure.ac' but it gives the error
> 
> 'FATAL ERROR:Autoconf version 2.50 or higher is required for this script'
> 
> How to overcome this error?
> 
> Thanks & Regs,
> Raks
> 
> -----Original Message-----
> From: vlc-devel-bounce at videolan.org
> [mailto:vlc-devel-bounce at videolan.org]On Behalf Of Rajan Rakesh-A20642
> Sent: Saturday, September 25, 2004 6:59 PM
> To: vlc-devel at videolan.org
> Subject: Re: Pls help : Error on building vlc with RTSP su
> pport
> 
> 
> I get the same result on both vlc-0.7.2 and vlc-0.8.0-test1.
> 
> Also I tried to build VLC on linux.
> Following is the configure script I used.
> 
> ./bootstrap && \
>   CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
>   LDFLAGS=-L/usr/win32/lib \
>   ./configure \
>       --disable-sdl --disable-gtk \
>       --enable-nls \
>       --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
>       --enable-faad --enable-flac --enable-theora \
>       --with-wx-config-path=/usr/win32/bin \
>       --with-freetype-config-path=/usr/win32/bin \
>       --with-fribidi-config-path=/usr/win32/bin \
>       --enable-caca --with-caca-config-path=/usr/win32/bin \
>       --with-xml2-config-path=/usr/win32/bin \
>       --with-dvdnav-config-path=/usr/win32/bin \
>       --disable-cddax --disable-vcdx --enable-goom \
>       --disable-mkv \
>       --enable-debug
> 
> I get the configure error 
> 
> 'autoconf: configure.in: No such file or directory'
> 
> Any idea where can I get a configure.in file for this.
> 
> Thanks & Regs,
> Rakesh
> 
> -----Original Message-----
> From: vlc-devel-bounce at videolan.org
> [mailto:vlc-devel-bounce at videolan.org]On Behalf Of Ross Finlayson
> Sent: Saturday, September 25, 2004 1:32 AM
> To: vlc-devel at videolan.org
> Subject: Re: Pls help : Error on building vlc with RTSP
> support
> 
> 
> It seems that you're using an old version of the VLC source code - one 
> that's incompatible with recent versions of the LIVE.COM libraries.  Please 
> use a recent version of the VLC source code (e.g., from CVS) instead.
> 
> 	Ross Finlayson
> 	LIVE.COM
> 	<http://www.live.com/>
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list