[JDEV] PTH and cygwin

Andy Beetz andy.beetz at clearswift.com
Thu Jun 13 00:44:18 CDT 2002


My error is as follows:

$ make
./libtool --mode=compile gcc -c -I. -O2 -pipe pth_debug.c
gcc -c -I. -O2 -pipe pth_debug.c -o pth_debug.o
In file included from pth_p.h.in:53,
                 from pth_debug.c:29:
pth.h:53: warning: useless keyword or type name in empty declaration
pth.h:53: warning: empty declaration
In file included from pth_debug.c:29:
pth_sched.c:33: parse error before `__pth_NQ'
pth_sched.c:33: warning: data definition has no type or storage class
pth_sched.c:34: parse error before `__pth_RQ'
pth_sched.c:34: warning: data definition has no type or storage class
pth_sched.c:35: parse error before `__pth_WQ'
pth_sched.c:35: warning: data definition has no type or storage class
pth_sched.c:36: parse error before `__pth_SQ'
pth_sched.c:36: warning: data definition has no type or storage class
pth_sched.c:37: parse error before `__pth_DQ'
pth_sched.c:37: warning: data definition has no type or storage class
pth_debug.c: In function `pth_debug':
pth_debug.c:61: `errno_shield' undeclared (first use in this function)
pth_debug.c:61: (Each undeclared identifier is reported only once
pth_debug.c:61: for each function it appears in.)
pth_debug.c:61: parse error before `{'
pth_debug.c:75: called object is not a function
pth_debug.c: At top level:
pth_debug.c:77: parse error before `return'
pth_debug.c: In function `pth_dumpstate':
pth_debug.c:90: dereferencing pointer to incomplete type
pth_debug.c: At top level:
pth_debug.c:98: parse error before `pth_pqueue_t'
pth_debug.c:99: warning: type mismatch with previous implicit declaration
pth_debug.c:86: warning: previous implicit declaration of `pth_dumpqueue'
pth_debug.c:99: warning: `pth_dumpqueue' was previously implicitly declared
to return `int'
pth_debug.c: In function `pth_dumpqueue':
pth_debug.c:104: `fp' undeclared (first use in this function)
pth_debug.c:104: `qn' undeclared (first use in this function)
pth_debug.c:105: `q' undeclared (first use in this function)
pth_debug.c:109: warning: assignment makes pointer from integer without a
cast
pth_debug.c:109: warning: assignment makes pointer from integer without a
cast
pth_debug.c:110: dereferencing pointer to incomplete type
make: *** [pth_debug.lo] Error 1

Pth.h line 53 is "typedef int socklen_t;"

I just don't get it, why does it compile for some people and not for others?

Thanks
Andy

> -----Original Message-----
> From: Thomas Muldowney [mailto:temas at box5.net] 
> Sent: 12 June 2002 18:17
> To: jdev at jabber.org
> Subject: Re: [JDEV] PTH and cygwin
> 
> 
> What are you errors?  pth 1.4.0 built fine for me.
> 
> --temas
> 
> 
> On Wed, 2002-06-12 at 05:15, Andy Beetz wrote:
> > Why doesn't pth-1.4.0 compile under cygwin?
> > Just finished a full cygwin install, tried to make pth and 
> fails out 
> > with the same error and warnings as usual.
> > 
> > Anybody know what's going on?
> > 
> > I've also tried downloading 1.4.0 and 1.4.1 from pth's site and 
> > building it independently but it's still a no go.
> > 
> > :(
> > 
> > 
> > 
> > 
> ----------------------------------------------------------------------
> > -----------------------------------------
> > Clearswift monitors, controls and protects all its 
> messaging traffic in 
> > compliance with its corporate email policy using Clearswift 
> products. 
> > Find out more about Clearswift, its solutions and services at 
> > www.clearswift.com.
> > 
> **************************************************************
> *********************
> > This communication is confidential and may contain privileged 
> > information intended solely for the named addressee(s). It may not 
> > be used or disclosed except for the purpose for which it has been 
> > sent. If you are not the intended recipient, you must not copy, 
> > distribute or take any action in reliance on it. Unless 
> expressly stated, 
> > opinions in this message are those of the individual sender 
> and not of 
> > Clearswift. If you have received this communication in 
> error, please 
> > notify Clearswift by emailing support at clearswift.com quoting the 
> > sender and delete the message and any attached documents. 
> Clearswift 
> > accepts no liability or responsibility for any onward 
> transmission or use of
> > emails and attachments having left the Clearswift domain.
> > 
> > This footnote confirms that this email message has been swept by
> > MIMEsweeper for Content Security threats, including 
> computer viruses.
> > 
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 



More information about the JDev mailing list