Re: [Dbmail-dev] DbMail CVS on FreeBSD 4.8, 4.9, 4.10 error pool.c:In function `child_reg_connected'

2004-09-14 Thread M. J. [Mike] O'Brien
Much better, Paul. That's one snag removed.



gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2 -I/usr/local/inc
l
ude/glib-2.0 -I/usr/local/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wst
ri
ct-prototypes -c pop3d.c
pop3d.c: In function `main':
pop3d.c:113: syntax error before `'
gmake[2]: *** [pop3d.o] Error 1
gmake[2]: Leaving directory `/usr/install/new/dbmail'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/install/new/dbmail'
gmake: *** [all-recursive-am] Error 2



- Original Message - 
From: Paul J Stevens [EMAIL PROTECTED]
To: DBMAIL Developers Mailinglist dbmail-dev@dbmail.org
Sent: Tuesday, September 14, 2004 3:12 AM
Subject: Re: [Dbmail-dev] DbMail CVS on FreeBSD 4.8, 4.9, 4.10 error
pool.c:In function `child_reg_connected'


 Mike,

 I've fixed the variable declarations involved. Could you please test
again? I
 don't have access to a freebsd machine, so I'm not all too certain I
actually
 fixed this.

 [EMAIL PROTECTED] wrote:
 
  /usr/local/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
  -I.-fomit-frame-pointer -g -O2 -I/usr/local/include/glib-2.0
  -I/usr/local/lib/glib-2.0/include   -W -Wall -Wpointer-arith
  -Wstrict-prototypes -c pool.c
   gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2
  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -W -Wall
  -Wpointer-arith -Wstrict-prototypes -Wp,-MD,.deps/pool.pp -c pool.c
  -fPIC -DPIC -o .libs/pool.o
  pool.c: In function `child_reg_connected':
  pool.c:265: syntax error before `int'
  pool.c:266: `key' undeclared (first use in this function)
  pool.c:266: (Each undeclared identifier is reported only once
  pool.c:266: for each function it appears in.)
  pool.c:262: warning: unused variable `pid'
  pool.c: In function `child_reg_disconnected':
  pool.c:278: syntax error before `int'
  pool.c:279: `key' undeclared (first use in this function)
  pool.c:275: warning: unused variable `pid'
  pool.c: In function `child_unregister':
  pool.c:298: syntax error before `int'
  pool.c:299: `key' undeclared (first use in this function)
  pool.c:295: warning: unused variable `pid'
  pool.c: In function `manage_stop_children':
  pool.c:361: syntax error before `int'
  pool.c:364: `stillSomeAlive' undeclared (first use in this function)
  pool.c:364: `cnt' undeclared (first use in this function)
  pool.c:368: `i' undeclared (first use in this function)
  pool.c:369: `chpid' undeclared (first use in this function)
  gmake[2]: *** [pool.lo] Error 1
  gmake[2]: Leaving directory `/usr/install/new/dbmail'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory `/usr/install/new/dbmail'
  gmake: *** [all-recursive-am] Error 2
 
 
  ___
  Dbmail-dev mailing list
  Dbmail-dev@dbmail.org
  http://twister.fastxs.net/mailman/listinfo/dbmail-dev
 

 -- 

Paul Stevens [EMAIL PROTECTED]
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands___www.nfg.nl
 ___
 Dbmail-dev mailing list
 Dbmail-dev@dbmail.org
 http://twister.fastxs.net/mailman/listinfo/dbmail-dev




[Dbmail-dev] Dbmail-dev] DbMail CVS on FreeBSD 4.8, 4.9, 4.10 error pool.c:In function `child_reg_connected'

2004-09-14 Thread M. J. [Mike] O'Brien
 Paul J Stevens
 You break my heart. There's no '' on or near line pop3d.c:113


Hey Paul:

It doesn't make any sense, does it?
I didn't have a chance to open pop3d.c and impad.c before
I fired off the last test you asked for but I do now see
that it doesn't make sense.

I switched back to GLIB2.2 from 2.4.6 and
it built OK but badly broken in operation.
I will play with the new dbmail.conf (MAX_ERRORS=500,
MINSPARECHILDREN=4 MAXSPARECHILDREN=8) when I get a chance tonight.
Must shut this dev machine down now and get on to some other aligators...


Sep 14 09:22:45 sunny dbmail/pop3d[36714]: pool.c,manage_restart_children:
child[43869] exited. Restarting...
Sep 14 09:22:45 sunny dbmail/imap4d[36653]: pool.c,manage_restart_children:
child [43868] exited. Restarting...
Sep 14 09:22:45 sunny dbmail/pop3d[43976]: pool.c,child_register: register
child[43976]
Sep 14 09:22:45 sunny dbmail/imap4d[43977]: pool.c,child_register: register
child [43977]
Sep 14 09:22:45 sunny dbmail/pop3d[36714]: pool.c,manage_restart_children:
child[43871] exited. Restarting...
Sep 14 09:22:45 sunny dbmail/imap4d[36653]: pool.c,manage_restart_children:
child [43870] exited. Restarting...
Sep 14 09:22:45 sunny dbmail/pop3d[43978]: pool.c,child_register: register
child[43978] ..

infinite

best...
Mike





M. J. [Mike] O'Brien wrote:
 Much better, Paul. That's one snag removed.




gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2 -I/usr/local/inc
 l

ude/glib-2.0 -I/usr/local/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wst
 ri
 ct-prototypes -c pop3d.c
 pop3d.c: In function `main':
 pop3d.c:113: syntax error before `'
 gmake[2]: *** [pop3d.o] Error 1
 gmake[2]: Leaving directory `/usr/install/new/dbmail'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/install/new/dbmail'
 gmake: *** [all-recursive-am] Error 2



 - Original Message - 
 From: Paul J Stevens paul at nfg.nl
 To: DBMAIL Developers Mailinglist dbmail-dev at dbmail.org
 Sent: Tuesday, September 14, 2004 3:12 AM
 Subject: Re: [Dbmail-dev] DbMail CVS on FreeBSD 4.8, 4.9, 4.10 error
 pool.c:In function `child_reg_connected'



Mike,

I've fixed the variable declarations involved. Could you please test

 again? I don't have access to a freebsd machine,
 so I'm not all too certain I actually fixed this.



mike at mobrien.com wrote:

/usr/local/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.-fomit-frame-pointer -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -W -Wall -Wpointer-arith
-Wstrict-prototypes -c pool.c
 gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -W -Wall
-Wpointer-arith -Wstrict-prototypes -Wp,-MD,.deps/pool.pp -c pool.c
-fPIC -DPIC -o .libs/pool.o
pool.c: In function `child_reg_connected':
pool.c:265: syntax error before `int'
pool.c:266: `key' undeclared (first use in this function)
pool.c:266: (Each undeclared identifier is reported only once
pool.c:266: for each function it appears in.)
pool.c:262: warning: unused variable `pid'
pool.c: In function `child_reg_disconnected':
pool.c:278: syntax error before `int'
pool.c:279: `key' undeclared (first use in this function)
pool.c:275: warning: unused variable `pid'
pool.c: In function `child_unregister':
pool.c:298: syntax error before `int'
pool.c:299: `key' undeclared (first use in this function)
pool.c:295: warning: unused variable `pid'
pool.c: In function `manage_stop_children':
pool.c:361: syntax error before `int'
pool.c:364: `stillSomeAlive' undeclared (first use in this function)
pool.c:364: `cnt' undeclared (first use in this function)
pool.c:368: `i' undeclared (first use in this function)
pool.c:369: `chpid' undeclared (first use in this function)
gmake[2]: *** [pool.lo] Error 1
gmake[2]: Leaving directory `/usr/install/new/dbmail'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/install/new/dbmail'
gmake: *** [all-recursive-am] Error 2


___
Dbmail-dev mailing list
Dbmail-dev at dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


-- 
   
   Paul Stevens paul at nfg.nl
   NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
   The Netherlands___www.nfg.nl
___
Dbmail-dev mailing list
Dbmail-dev at dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev



 ___
 Dbmail-dev mailing list
 Dbmail-dev at dbmail.org
 http://twister.fastxs.net/mailman/listinfo/dbmail-dev


-- 
   
   Paul Stevens paul at nfg.nl
   NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31