Re: Problem building Cygwin from CVS

2012-12-17 Thread Chris J. Breisch

On 12/17/2012 4:53 AM, Corinna Vinschen wrote:


Yes, don't try to build tcl/tk from the sourceware repo.  It's old, it's
unmaintained.


Corinna

Ok, thanks. Are there any other parts of the CVS source tree that I 
should be wary of?


--

Chris J. Breisch

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



Re: Problem building Cygwin from CVS

2012-12-17 Thread Corinna Vinschen
On Dec 15 15:20, Chris J. Breisch wrote:
> I'm having difficulty building the Cygwin tree. My cygcheck.out is
> attached.
> 
> I have the "Default" Cygwin set up, with the following additions:
> gcc4, make, perl, cocom, bison, flex, vim, m4, and libiconv.
> 
> I've checked the archives for similar issues and have found none.
> After my research, it appears that this is the correct mailing list
> for this issue, but if not, I apologize.
> 
> The error is as follows:
> >make[3]: Entering directory `/home/cbreisch/cygwin/build/tcl/win'
> >gcc -c -g -O2 -Wall -Wconversion
> >-I"../../../src/tcl/win/../generic" -I"../../../src/tcl/win"
> >-mwin32 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> >-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> >-DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DSTDC_HEADERS=1
> >-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> >-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> >-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> >-DBUILD_tcl ../../../src/tcl/win/../generic/tclAlloc.c -o
> >tclAlloc.o
> >In file included from 
> >/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winsock2.h:56:0,
> >from ../../../src/tcl/win/../generic/../win/tclWinPort.h:72,
> >from ../../../src/tcl/win/../generic/tclPort.h:22,
> >from ../../../src/tcl/win/../generic/tclAlloc.c:29:
> >/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/psdk_inc/_fd_types.h:100:2:
> >warning: #warning "fd_set and associated macros have been defined
> >in sys/types. This can cause runtime problems with W32 sockets"
> >In file included from
> >../../../src/tcl/win/../generic/../win/tclWinPort.h:72:0,
> >from ../../../src/tcl/win/../generic/tclPort.h:22,
> >from ../../../src/tcl/win/../generic/tclAlloc.c:29:
> >/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winsock2.h:986:34:
> >error: conflicting types for ‘select’
> >/usr/include/sys/select.h:31:5: note: previous declaration of
> >‘select’ was here
> >Makefile:423: recipe for target `tclAlloc.o' failed
> 
> The -mwin32 option causes tclWinPort.h and therefore winsock2.h to
> be included by virtue of the __WIN32__ define.
> 
> Anyone have any suggestions?

Yes, don't try to build tcl/tk from the sourceware repo.  It's old, it's
unmaintained.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Problem building Cygwin from CVS

2012-12-15 Thread Chris J. Breisch
I'm having difficulty building the Cygwin tree. My cygcheck.out is 
attached.


I have the "Default" Cygwin set up, with the following additions: gcc4, 
make, perl, cocom, bison, flex, vim, m4, and libiconv.


I've checked the archives for similar issues and have found none. After 
my research, it appears that this is the correct mailing list for this 
issue, but if not, I apologize.


The error is as follows:

make[3]: Entering directory `/home/cbreisch/cygwin/build/tcl/win'
gcc -c -g -O2 -Wall -Wconversion -I"../../../src/tcl/win/../generic" 
-I"../../../src/tcl/win" -mwin32 -DPACKAGE_NAME=\"\" 
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DBUILD_tcl 
../../../src/tcl/win/../generic/tclAlloc.c -o tclAlloc.o
In file included from 
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winsock2.h:56:0,

from ../../../src/tcl/win/../generic/../win/tclWinPort.h:72,
from ../../../src/tcl/win/../generic/tclPort.h:22,
from ../../../src/tcl/win/../generic/tclAlloc.c:29:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/psdk_inc/_fd_types.h:100:2: 
warning: #warning "fd_set and associated macros have been defined in 
sys/types. This can cause runtime problems with W32 sockets"
In file included from 
../../../src/tcl/win/../generic/../win/tclWinPort.h:72:0,

from ../../../src/tcl/win/../generic/tclPort.h:22,
from ../../../src/tcl/win/../generic/tclAlloc.c:29:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winsock2.h:986:34: 
error: conflicting types for ‘select’
/usr/include/sys/select.h:31:5: note: previous declaration of ‘select’ 
was here

Makefile:423: recipe for target `tclAlloc.o' failed


The -mwin32 option causes tclWinPort.h and therefore winsock2.h to be 
included by virtue of the __WIN32__ define.


Anyone have any suggestions?

Chris J. Breisch

Cygwin Configuration Diagnostics
Current System Time: Sat Dec 15 19:22:46 2012

Windows 8 Enterprise Ver 6.2 Build 9200 

Running under WOW64 on AMD64

Path:   D:\cygwin\usr\local\bin
D:\cygwin\bin
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services
C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online 
Services
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files\Microsoft SQL Server\110\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
C:\Program Files (x86)\Microsoft SQL 
Server\110\Tools\Binn\ManagementStudio
C:\Program Files (x86)\Microsoft Visual Studio 
10.0\Common7\IDE\PrivateAssemblies
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn
C:\Program Files\Microsoft\Web Platform Installer
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0
C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit
C:\Program Files (x86)\CodeSmith\v5.3
C:\PROGRA~1\CONDUS~1\DISKEE~1
C:\Program Files (x86)\Common Files\Acronis\SnapAPI
C:\Programs\nant-0.90-beta1\bin
C:\Program Files (x86)\Windows Live\Shared
C:\Program Files (x86)\QuickTime\QTSystem
C:\Programs\MingW\bin
C:\Program Files (x86)\cvsnt

Output from D:\cygwin\bin\id.exe
UID: 18142(cbreisch)  GID: 10513(Domain Users)
10513(Domain Users)   545(Users)1002(HelpLibraryUpdaters)
1005(PaymentProcessors)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'cbreisch'
PWD = '/home/cbreisch'
HOME = '/home/cbreisch'

USERDOMAIN_ROAMINGPROFILE = 'EAGLEADJUSTING'
HOMEPATH = '\Users\cbreisch'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Users\cbreisch\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'cbreisch-win8'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 30 Stepping 5, GenuineIntel'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/cygdrive/c/Windows/system32'
USERDOMAIN = 'EAGLEADJUSTING'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
VBOX_INSTALL_PATH = 'C:\Program Files\Oracle\VirtualBox\'
temp = 'C:\Users\cbreisch\AppData\Local\Temp'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
TMP = '/tmp'
QTJAVA = 'C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip'
USERNAME = 'cbreisch'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program 
Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\'
FP_NO_HOST_CHECK = 'NO'