Re: can not compile cscope on cygwin

2005-05-14 Thread Arvind
Mark Paulus  mci.com> writes:

> 
> I just tried this, and it appears that you don't have 
> lex/flex and/or bison/byacc installed.  Apparently
> these aren't selected by default from the cygwin
> setup tool.  Re-run the cygwin setup tool, and under 
> Devel, select bison and flex, and you should be good
> to go.
> 

tried that.. but got :-
-
make  all-recursive
make[1]: Entering directory `/cygdrive/c/cscope/cscope-15.5'
Making all in doc
make[2]: Entering directory `/cygdrive/c/cscope/cscope-15.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/cscope/cscope-15.5/doc'
Making all in src
make[2]: Entering directory `/cygdrive/c/cscope/cscope-15.5/src'
bison -y   `test -f 'egrep.y' || echo './'`egrep.y
conflicts: 2 shift/reduce
make[2]: *** [egrep.c] Broken pipe
make[2]: Leaving directory `/cygdrive/c/cscope/cscope-15.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/cscope/cscope-15.5'
make: *** [all] Error 2
-

Arvind.

> On Wed, 27 Apr 2005 15:46:47 -0400 (EDT), Igor Pechtchanski wrote:
> 
> >On Wed, 27 Apr 2005, lin q wrote:
> 
> >> Hi,
> >>  I am using latest version cygwin and I just downloaded cscope 15.5, but in
> >> compiling it there is such error,
> >>
> >> $ make
> >> make  all-recursive
> >> make[1]: Entering directory `/c/bin/cscope-15.5'
> >> Making all in doc
> >> make[2]: Entering directory `/c/bin/cscope-15.5/doc'
> >> make[2]: Nothing to be done for `all'.
> >> make[2]: Leaving directory `/c/bin/cscope-15.5/doc'
> >> Making all in src
> >> make[2]: Entering directory `/c/bin/cscope-15.5/src'
> >> /bin/bash ../ylwrap `test -f 'fscanner.l' || echo './'`fscanner.l .c
> >> fscanner.c -- :
> >> make[2]: *** [fscanner.c] Error 1
> >> make[2]: Leaving directory `/c/bin/cscope-15.5/src'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory `/c/bin/cscope-15.5'
> >> make: *** [all] Error 2
> >>
> >> Do you know what is wrong?
> 
> >Please review and follow
> >> Problem reports:   http://cygwin.com/problems.html
> >to provide enough information about your installation for this list to
> >help you.
> 
> >Without the above information, I would guess that it's a line ending issue
> >of some sort (since you're using /c, and I suppose your cygdrive prefix is
> >empty rather than "c:" being mounted on /c explicitly).
> 
> >> Is there any pre-compiled cscope for cygwin somewhere?
> 
> >According to <http://cygwin.com/packages/>, the only matches for "cscope"
> >are in the vim source package, so no, there isn't an official cscope
> >package.  You can Google for unofficial ones, I suppose.
> > Igor
> >-- 
> > http://cs.nyu.edu/~pechtcha/
> >  |\  _,,,---,,_ pechtcha  cs.nyu.edu
> >ZZZzz /,`.-'`'-.  ;-;;,_ igor  watson.ibm.com
> > |,4-  ) )-,_. ,\ (  `'-'Igor Pechtchanski, Ph.D.
> >'---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> >"The Sun will pass between the Earth and the Moon tonight for a total
> >Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
> 
> >--
> >Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> >Problem reports:   http://cygwin.com/problems.html
> >Documentation: http://cygwin.com/docs.html
> >FAQ:   http://cygwin.com/faq/
> 
> 





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



C compiler cannot create executables

2003-06-24 Thread Arvind Raman
Hi,
I am trying to compile the xvid distribution in the
cygwin shell on my windows 2k box. On doing so I am
getting the following error
configure: error: C compiler cannot create executables
which I see is troubling quite a few other people.
I browsed through the messages on the list, but could
not really find a fix to my problem. I have 
uninstalled and installed cygwin many times, and that
too doesnt seem to solve the problem.
As was requested of others I am attaching the outputs
of my ./configure and cygcheck -svr.
Could you please help me figure out where the problem
could be.

Thanks and regards
Arvind

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

config.log
Description: config.log

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jun 24 21:31:39 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\Program Files\cygwin\usr\local\bin
C:\Program Files\cygwin\bin
C:\Program Files\cygwin\bin
c:\Python22
c:\Program Files\ActivePerl\bin\
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\PROGRA~1\Tcl\bin
c:\Program Files\doxygen\bin
c:\PROGRA~1\ATT\Graphviz\bin
c:\PROGRA~1\ATT\Graphviz\bin\tools
c:\CVSFiles\RCSBinaries
w:\common\video\utils
c:\Tools\mpatrol\build\windows
c:\PROGRA~1\CVSFOR~1
C:\Program Files\cygwin\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `\\is01fs01\users\100027'
LD_LIBRARY_PATH = `c:\Tools\mpatrol\build\windows'
MAKE_MODE = `unix'
PWD = `/cygdrive/d/xvidcore-0.9.1/build/generic'
USER = `100027'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\100027\Application Data'
CODETEMPLATE = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddIns'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `IS0027'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `U:'
HOMEPATH = `\'
HOMESHARE = `\\is01fs01\users\100027'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\'
INTEL_LICENSE_FILE = `C:\Program Files\Common Files\Intel\Licenses'
LIB = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\'
LOGONSERVER = `\\IS01DC01'
MPATROL_OPTIONS = `LOGALL CHECK ALL USEDEBUG'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/d'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyc;.pyo;.pyw;.pys'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SMS_LOCAL_DIR = `C:\WINNT'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\100027\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\100027\LOCALS~1\Temp'
USERDNSDOMAIN = `ittiam.com'
USERDOMAIN = `ITTIAM'
USERNAME = `100027'
USERPROFILE = `C:\Documents and Settings\100027'
VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\Program Files\cygwin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\Program Files\cygwin/bin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\Program Files\cygwin/lib'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS9993Mb  85% CP CS UN PA FC Arvind
d:  hd  NTFS9083Mb  33% CP CS UN PA FC SpareDisk
e:  cd   N/AN/A
f:  net NTFS9083Mb  63% CP CS UN PA FC New Volume
p:  net NTFS   17359Mb  54% CP CS UN PA FC Project
u:  net NTFS 100Mb  83% CP CS UN PA FC UserData
v:  net NTFS   34723Mb 100% CP CS UN PA FC Workspace
w:  net NTFS   34723Mb 100% CP CS UN PA FC Workspace
x:  net NTFS4589Mb  92% CP CS UN PA FC O2K

C:\Program Files\cygwin  /

OpenGL does not render when linked with -mno-cygwin

2005-03-16 Thread Arvind N
I am using g++ Version 3.3.3 on a Windows XP box to write a program that 
draws mathematical functions as graphs. The program works fine when I 
compile and link without -mno-cygwin and the graphs are rendered fine. 
However, if I add -mno-cygwin to the compile line and "-L/usr/lib/mingw 
-lstdc++" to the link line, all I get is a black screen. I am using GLUT to 
create the window and the menus and all of those work fine but there is 
nothing rendered into the window. I do not get any errors either.

I do not get any compiler/linker warnings or errors when I compile with 
-mno-cygwin. Are there any dependencies that OpenGL has with cygwin1.dll? 
The link line uses the libraries in the order "-lglut32 -lglu32 -lopengl32" 
which seems to be what the documentation says.

Here are the cygcheck outputs with and without mno-cygwin:
* With mno-cygwin:
mathgraph.exe:
 C:\WINDOWS\system32\msvcrt.dll
   C:\WINDOWS\system32\KERNEL32.dll
 C:\WINDOWS\system32\ntdll.dll
 C:\WINDOWS\system32\GLU32.DLL
   C:\WINDOWS\system32\OPENGL32.dll
 C:\WINDOWS\system32\ADVAPI32.dll
   C:\WINDOWS\system32\RPCRT4.dll
 C:\WINDOWS\system32\GDI32.dll
   C:\WINDOWS\system32\USER32.dll
 C:\WINDOWS\system32\DDRAW.dll
   C:\WINDOWS\system32\DCIMAN32.dll
 C:\WINDOWS\system32\glut32.dll
   C:\WINDOWS\system32\WINMM.dll
* Without mno-cygwin
mathgraph.exe:
 C:\Program Files\Cygwin\bin\cygwin1.dll
   C:\WINDOWS\system32\ADVAPI32.DLL
 C:\WINDOWS\system32\ntdll.dll
 C:\WINDOWS\system32\KERNEL32.dll
 C:\WINDOWS\system32\RPCRT4.dll
 C:\WINDOWS\system32\GLU32.DLL
   C:\WINDOWS\system32\msvcrt.dll
   C:\WINDOWS\system32\OPENGL32.dll
 C:\WINDOWS\system32\GDI32.dll
   C:\WINDOWS\system32\USER32.dll
 C:\WINDOWS\system32\DDRAW.dll
   C:\WINDOWS\system32\DCIMAN32.dll
 C:\WINDOWS\system32\glut32.dll
   C:\WINDOWS\system32\WINMM.dll
I would appreciate any help with this.
Thanks in advance,
Arvind

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/