discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Pantomime error


From: Guevara, Kristine F
Subject: RE: Pantomime error
Date: Wed, 10 Jul 2002 12:30:02 -0500

Thank you Ludovic.  That has fixed the error, but another error came up in
TCPConnection.m

  Compiling file TCPConnection.m ...
TCPConnection.m: In function `-[TCPConnection
initWithName:port:connectionTimeout:readTimeout:writeTimeout:]':
TCPConnection.m:124: parse error before ',' token
TCPConnection.m:83: warning: unused variable `nonblock'
TCPConnection.m: At top level:
TCPConnection.m:132: parse error before "if"
TCPConnection.m:142: parse error before '(' token
TCPConnection.m:142: warning: type defaults to `int' in declaration of
`memset'
TCPConnection.m:142: `memset' declared as function returning a function
TCPConnection.m:145: parse error before '&' token
TCPConnection.m:151: warning: type defaults to `int' in declaration of
`value'
TCPConnection.m:151: `self' undeclared here (not in a function)
TCPConnection.m:151: `fdset' undeclared here (not in a function)
TCPConnection.m:151: initializer element is not constant
TCPConnection.m:151: warning: data definition has no type or storage class
TCPConnection.m:154: parse error before "if"
TCPConnection.m:157: parse error before '@' token
TCPConnection.m:157: warning: type defaults to `int' in declaration of
`NSLog'
TCPConnection.m:157: conflicting types for `NSLog'
/GNUtools/2.8/System/Headers/Foundation/NSObjCRuntime.h:65: previous
declaration of `NSLog'
TCPConnection.m:157: warning: data definition has no type or storage class
TCPConnection.m:165: warning: type defaults to `int' in declaration of
`size'
TCPConnection.m:165: `soError' undeclared here (not in a function)
TCPConnection.m:165: warning: data definition has no type or storage class
TCPConnection.m:169: parse error before "if"
TCPConnection.m:172: parse error before '@' token
TCPConnection.m:172: warning: type defaults to `int' in declaration of
`NSLog'
TCPConnection.m:172: warning: data definition has no type or storage class
TCPConnection.m:179: parse error before '@' token
TCPConnection.m:179: warning: type defaults to `int' in declaration of
`NSLog'
TCPConnection.m:179: warning: data definition has no type or storage class
TCPConnection.m:187: parse error before '@' token
TCPConnection.m:187: warning: type defaults to `int' in declaration of
`NSLog'
TCPConnection.m:187: warning: data definition has no type or storage class
TCPConnection.m:194: parse error before '@' token
TCPConnection.m:194: warning: type defaults to `int' in declaration of
`NSLog'
TCPConnection.m:194: warning: data definition has no type or storage class
TCPConnection.m: In function `-[TCPConnection readLineBySkippingCR:]':
TCPConnection.m:319: warning: implicit declaration of function `bzero'
make[1]: *** [shared_obj/sparc/solaris2.8/gnu-gnu-gnu/TCPConnection.o] Error
1
make: *** [libPantomime.all.library.variables] Error 2
rodan{toolman}37: make
Making all for library libPantomime...
 Compiling file TCPConnection.m ...
TCPConnection.m: In function `-[TCPConnection
initWithName:port:connectionTimeout:readTimeout:writeTimeout:]':
TCPConnection.m:122: `FIONBIO' undeclared (first use in this function)
TCPConnection.m:122: (Each undeclared identifier is reported only once
TCPConnection.m:122: for each function it appears in.)
TCPConnection.m: In function `-[TCPConnection readLineBySkippingCR:]':
TCPConnection.m:317: warning: implicit declaration of function `bzero'
make[1]: *** [shared_obj/sparc/solaris2.8/gnu-gnu-gnu/TCPConnection.o] Error
1
make: *** [libPantomime.all.library.variables] Error 2

I am currently unable to download GNUMail 1.0.2 and Pantomime 1.0.4 as the
server is down.


-----Original Message-----
From: Ludovic Marcotte
To: Guevara, Kristine F
Sent: 7/10/02 12:25 PM
Subject: Re: Pantomime error

Hi Kristine,

> ...
> LocalFolder.m:462: `LOCK_UN' undeclared (first use in this function)
> LocalFolder.m:462: (Each undeclared identifier is reported only once
> LocalFolder.m:462: for each function it appears in.)
> LocalFolder.m: In function `-[LocalFolder expunge:]':
> LocalFolder.m:598: `LOCK_UN' undeclared (first use in this function)
> LocalFolder.m: In function `-[LocalFolder(Private)
_openAndLockFolder]':
> LocalFolder.m:855: `LOCK_EX' undeclared (first use in this function)
> LocalFolder.m:855: `LOCK_NB' undeclared (first use in this function)
> LocalFolder.m:862: `LOCK_UN' undeclared (first use in this function)
> make[2]: *** [shared_obj/sparc/solaris2.8/gnu-gnu-gnu/LocalFolder.o]
Error 1
> make[1]: *** [libPantomime.all.library.variables] Error 2
> make[1]: Leaving directory `/reserved/toolman/Pantomime/Source'
> make: *** [internal-all] Error 2

try adding:

#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB 4
#define LOCK_UN 8

after:

#import <fcntl.h>
#import <unistd.h>
#import <string.h>
#import <sys/file.h>

in LocalFolder.m

and tell me if it works properly.

BTW, I recommand you to install GNUMail.app 1.0.2 and Pantomime 1.0.4
and 
not 1.0.1/1.0.3.

Thanks,
        Ludovic

-- 
Live as if you were to die tomorrow.
Learn as if you were to live forever.
 - Gandhi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]