[xmail] Re: Solaris x86 make error

2003-10-22 Thread Andre FS

Ok,

The server is built and working.

Remembering -=20

When compiling Xmail version 1.16 and 1.17, on Solaris 9 - x86
platform, with GCC 3.2.2, the error:

"SMAILUtils.h:95: parse error before numeric constant"

This was solved with:

#ifdef FS
#undef FS
#endif

#ifdef GS
#undef GS
#endif

#ifdef ES
#undef ES
#endif

#ifdef DS
#undef DS
#endif


inside SysTypesSolaris.h


Tks and good work to all.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Davide Libenzi
Sent: ter=E7a-feira, 21 de outubro de 2003 15:57
To: [EMAIL PROTECTED]
Subject: [xmail] Re: Solaris x86 make error



On Tue, 21 Oct 2003, Andre FS wrote:

> SMAILUtils.cpp: In function `int=20
> USmlSetTagAddress(SPLF_HANDLE_struct*,
> const char*, const char*)':
> SMAILUtils.cpp: 1357: parse error before numeric constant
> SMAILUtils.cpp: 1359: non-lvalue in unary `&'
> SMAILUtils.cpp: 1361: non-lvalue in unary `&'
> SMAILUtils.cpp: 1362: non-lvalue in unary `&'
> SMAILUtils.cpp: 1363: non-lvalue in unary `&'
> SMAILUtils.cpp: 1368: non-lvalue in unary `&'
> SMAILUtils.cpp: 1371: non-lvalue in unary `&'
> SMAILUtils.cpp: 1375: non-lvalue in unary `&'

Ok, remove the undef FS from SMAILUtils.h and put:

#ifdef FS
#undef FS
#endif

#ifdef GS
#undef GS
#endif

#ifdef ES
#undef ES
#endif

#ifdef DS
#undef DS
#endif


inside SysTypesSolaris.h



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in the
body of a message to [EMAIL PROTECTED] For general help: send the
line "help" in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Solaris x86 make error

2003-10-21 Thread Davide Libenzi

On Tue, 21 Oct 2003, Andre FS wrote:

> SMAILUtils.cpp: In function `int USmlSetTagAddress(SPLF_HANDLE_struct*,
> const char*, const char*)':
> SMAILUtils.cpp: 1357: parse error before numeric constant
> SMAILUtils.cpp: 1359: non-lvalue in unary `&'
> SMAILUtils.cpp: 1361: non-lvalue in unary `&'
> SMAILUtils.cpp: 1362: non-lvalue in unary `&'
> SMAILUtils.cpp: 1363: non-lvalue in unary `&'
> SMAILUtils.cpp: 1368: non-lvalue in unary `&'
> SMAILUtils.cpp: 1371: non-lvalue in unary `&'
> SMAILUtils.cpp: 1375: non-lvalue in unary `&'

Ok, remove the undef FS from SMAILUtils.h and put:

#ifdef FS
#undef FS
#endif

#ifdef GS
#undef GS
#endif

#ifdef ES
#undef ES
#endif

#ifdef DS
#undef DS
#endif


inside SysTypesSolaris.h



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Solaris x86 make error

2003-10-21 Thread Andre FS


Davide,

There are some other errors now:

SMAILUtils.cpp: In function `int USmlSetTagAddress(SPLF_HANDLE_struct*,
const char*, const char*)':
SMAILUtils.cpp: 1357: parse error before numeric constant
SMAILUtils.cpp: 1359: non-lvalue in unary `&'
SMAILUtils.cpp: 1361: non-lvalue in unary `&'
SMAILUtils.cpp: 1362: non-lvalue in unary `&'
SMAILUtils.cpp: 1363: non-lvalue in unary `&'
SMAILUtils.cpp: 1368: non-lvalue in unary `&'
SMAILUtils.cpp: 1371: non-lvalue in unary `&'
SMAILUtils.cpp: 1375: non-lvalue in unary `&'





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Davide Libenzi
Sent: segunda-feira, 20 de outubro de 2003 18:52
To: [EMAIL PROTECTED]
Subject: [xmail] Re: Solaris x86 make error



On Mon, 20 Oct 2003, Andre FS wrote:

>   The sources used to try to compile on x86 platform was the
original 
> ones. I has no doubt about conformity of the SMAILUtils.h, but this 
> simply does not help any much. The error "parse error before numeric 
> constant" does not appear to relate directly to line #95 of the 
> SMAILUtils.h.

That line depends on the handle definition, done inside the file itself
and on the FileSection definition done inside a system *independent*
include file. Maybe you have a broken gcc. Wait a sec ... try to put an
"#undef FS" inside such include file. Maybe they define the x86 FS
register somewhere.



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in the
body of a message to [EMAIL PROTECTED] For general help: send the
line "help" in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Solaris x86 make error

2003-10-20 Thread Davide Libenzi

On Mon, 20 Oct 2003, Andre FS wrote:

>   The sources used to try to compile on x86 platform was the
> original ones. I has no doubt about conformity of the SMAILUtils.h, but
> this simply does not help any much. The error "parse error before
> numeric constant" does not appear to relate directly to line #95 of the
> SMAILUtils.h.

That line depends on the handle definition, done inside the file itself
and on the FileSection definition done inside a system *independent*
include file. Maybe you have a broken gcc.
Wait a sec ... try to put an "#undef FS" inside such include file. Maybe
they define the x86 FS register somewhere.



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Solaris x86 make error

2003-10-20 Thread D. Duccini


i wonder if its a gcc 3.x related thing?


On Mon, 20 Oct 2003, Andre FS wrote:

> 
> 
>   
>   The sources used to try to compile on x86 platform was the
> original ones. I has no doubt about conformity of the SMAILUtils.h, but
> this simply does not help any much. The error "parse error before
> numeric constant" does not appear to relate directly to line #95 of the
> SMAILUtils.h.
> 
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Davide Libenzi
> Sent: segunda-feira, 20 de outubro de 2003 18:22
> To: [EMAIL PROTECTED]
> Subject: [xmail] Re: Solaris x86 make error
> 
> 
> 
> On Mon, 20 Oct 2003, Andre FS wrote:
> 
> >
> > Hi,
> >
> > When compiling on Solaris 9 x86, with GCC 3.2.2, I get the error
> > "SMAILUtils.h:95: parse error before numeric constant". This happen on
> 
> > both 1.16 and 1.17 versions of the source.
> >
> > Has anyone experienced this before?
> >
> > I got several SPARC servers running Xmail, at version 1.16, with 
> > good results. Some customizations was made, and the services are 
> > running
> 
> 
> Please check your code. A perfectly legal and system independent
> declaration is found at SMAILUtils.h:95
> 
> 
> 
> - Davide
> 
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in the
> body of a message to [EMAIL PROTECTED] For general help: send the
> line "help" in the body of a message to [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 


-
[EMAIL PROTECTED]BackPack Software, Inc.www.backpack.com
+1 651.645.7550 voice   "Life is an Adventure.
+1 651.645.9798 faxDon't forget your BackPack!"   
-

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Solaris x86 make error

2003-10-20 Thread Andre FS



The sources used to try to compile on x86 platform was the
original ones. I has no doubt about conformity of the SMAILUtils.h, but
this simply does not help any much. The error "parse error before
numeric constant" does not appear to relate directly to line #95 of the
SMAILUtils.h.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Davide Libenzi
Sent: segunda-feira, 20 de outubro de 2003 18:22
To: [EMAIL PROTECTED]
Subject: [xmail] Re: Solaris x86 make error



On Mon, 20 Oct 2003, Andre FS wrote:

>
> Hi,
>
> When compiling on Solaris 9 x86, with GCC 3.2.2, I get the error
> "SMAILUtils.h:95: parse error before numeric constant". This happen on

> both 1.16 and 1.17 versions of the source.
>
> Has anyone experienced this before?
>
> I got several SPARC servers running Xmail, at version 1.16, with 
> good results. Some customizations was made, and the services are 
> running


Please check your code. A perfectly legal and system independent
declaration is found at SMAILUtils.h:95



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in the
body of a message to [EMAIL PROTECTED] For general help: send the
line "help" in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Solaris x86 make error

2003-10-20 Thread Davide Libenzi

On Mon, 20 Oct 2003, Andre FS wrote:

>
> Hi,
>
> When compiling on Solaris 9 x86, with GCC 3.2.2, I get the error
> "SMAILUtils.h:95: parse error before numeric constant". This happen on
> both 1.16 and 1.17 versions of the source.
>
> Has anyone experienced this before?
>
> I got several SPARC servers running Xmail, at version 1.16, with
> good results. Some customizations was made, and the services are running


Please check your code. A perfectly legal and system independent
declaration is found at SMAILUtils.h:95



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]