This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Use Tcp.h?


Nicholas,

Judging from  you log file, I don't think you did a clean rebuild.  I don't
see the same warnings that you do for Xserver/os/connection.c.

I see in Xserver/include/os.h a prototype for CloseDownFileDescriptor that
is only processed when LBX *is* defined, while in Xserver/os/connection.c
there is a prototype for CloseDownFileDescriptor that is only processed when
LBX is *not* defined.  The warning you are getting can only happen if LBX is
both defined and undefined... so my suspicion is that your build tree is
tainted.  (Don't tell me that you're building in the source tree either... I
don't want to hear any of it... see the Contributor's Guide for simple
instructions on how to build out of the source tree with lndir.)

What is this `i686-pc-cygwin-gcc' business about?  Are you cross compiling?
Shame on you for not disclosing this information if you are... it is really
vital to knowing how to fix a problem.

For now, whether you are cross compiling or not, ensure me that you have
done a completely clean build from a freshly lndir'd tree.


Harold


Here's your log bit:

======================================
i686-pc-cygwin-gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -Wstric
t-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wredundant-decls -Wnested-externs    -I. -I../include -I../../../exports/i
nclude/X11 -I../../../include/extensions              -I
../../../programs/Xserver/Xext -I../../../include/fonts                   -I
../../../lib/Xau -I../lbx  -I../../.. -I../../../exports
/include   -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ 
-D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DSHAPE -DXINPUT -DXKB -DLBX -DXAPP
GROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT   -DPIXPRIV -
DPANORAMIX  -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGL
EDEPTH  -DXvExtension  -DXFree86Server -DXF86VIDMODE -DX
vMCExtension    -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNA
RROWPROTO   -DXSERV_t -DTRANS_SERVER -DTCPCONN -DUNIXCON
N -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN                  -DAVOID_GLYPHBLT -DPIXP
RIV -DSINGLEDEPTH  -DXvExtension  -DXFree86Server -DXF86
VIDMODE -DXvMCExtension    -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DDDXTIME -DFD_SET
SIZE=256 -DDDXOSINIT -DDDXOSVERRORF -DDDXOSFATALERROR
   -DUSE_RGB_TXT   -DXDMCP connection.c
connection.c:230: warning: redundant redeclaration of
`CloseDownFileDescriptor' in same scope
../include/os.h:297: warning: previous declaration of
`CloseDownFileDescriptor'
connection.c:233: warning: function declaration isn't a prototype
connection.c:238: warning: function declaration isn't a prototype
connection.c:481: warning: function declaration isn't a prototype
connection.c:736: warning: function declaration isn't a prototype
connection.c: In function `AllocNewConnection':
connection.c:740: warning: function declaration isn't a prototype
connection.c:741: warning: function declaration isn't a prototype
rm -f io.o
======================================


Here's my log bit:

======================================
rm -f connection.o
gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith    -I. -I../include -I
../../../exports/include/X11 -I../../../include/extensions 		  -I../../../pr
ograms/Xserver/Xext -I../../../include/fonts 		  -I../../../lib/Xau -I../lbx
  -I../../.. -I../../../exports/include   -D__i386__ -DWIN32_LEAN_AND_MEAN -
DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_
BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DSHAPE -DXINPUT -DXKB -
DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT   -DPIXPRIV   -DRENDER
  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH  -DXvExtension  -DXF
ree86Server -DXF86VIDMODE -DXvMCExtension    -DXResExtension -DX_BYTE_ORDER=
X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO   -DXSERV_t -DTRANS_S
ERVER -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN  		     -DAVOID
_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH  -DXvExtension  -DXFree86Server -DXF86VIDM
ODE -DXvMCExtension    -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DDDXT
IME -DFD_SETSIZE=256 -DDDXOSINIT -DDDXOSVERRORF -DDDXOSFATALERROR 		   -DUSE
_RGB_TXT    -DXDMCP connection.c
rm -f io.o
======================================

> -----Original Message-----
> From: Nicholas Wourms [mailto:nwourms@yahoo.com]
> Sent: Friday, July 05, 2002 6:44 AM
> To: Harold Hunt
> Subject: RE: Use Tcp.h?
>
>
>
> --- Harold Hunt <huntharo@msu.edu> wrote:
> > Nicholas,
> >
> > > I just tried...  Not as complete as one would hope...  Nevermind about
> > > this... :-)
> Harold,
>
> It actually built fine, but the C pre-processor warned more then usual
> when it got to building the files you mentioned.  Otherwise it seemed to
> build fine.  Of course the issue I mentioned previously about the build
> process trying to use the utilities it built to make the fonts still
> exists for cross compiling (which won't work).  Anywho, I've attached my
> log from this session...
>
> Cheers,
> Nicholas
>
> P.S.  For obvious size related reasons, I'm mailing you privately.  Please
> feel free to forward the message w/o the attachment to the mailing list.
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]