> On Wed, Jun 05, 2002 at 03:54:24PM -0400, James Overly wrote:
> [...]
> > I used SUNWspro_6.1 to compile the X libraries and gcc 2.95.2
> > to compile lesstif. (there was a problem using the sun compiler).
> > 
> > This looks to me like I am linking against some incorrect system
> > library. Please let me know if anyone has an idea of what is causing
> > this problem.
> 
> Sorry, I can't help due to a complete lack of experience
> with Solaris. Is that gcc (binutils?) known to work properly? 

I havn't heard of any problems. It does get used quite a bit.

> But I'm interested in the problem building LessTif with
> the sun compiler. You didn't report details so far?

Sorry about that. Here is the error:

Building Rendertable.o

"RenderTable.c", line 506: syntax error before or at: }
"RenderTable.c", line 513: syntax error before or at: void
"RenderTable.c", line 527: undefined symbol: ctx
"RenderTable.c", line 527: warning: argument #1 is incompatible with prototype:
        prototype: pointer to pointer to struct _XmtStringContextRec {pointer to
 struct __XmStringRec {..} string, int current_component, pointer to char text, 
short textlen, pointer to char charset, unsigned char direction, char separator}
 : "../../include/Motif-2.1/Xm/Xm.h", line 1509
        argument : pointer to int
"RenderTable.c", line 527: warning: argument #2 is incompatible with prototype:
        prototype: pointer to unsigned char : "../../include/Motif-2.1/Xm/Xm.h",
 line 1509
        argument : pointer to struct __XmStringRec {pointer to pointer to struct
 __XmStringComponentRec {..} components, int number_of_components}
"RenderTable.c", line 533: undefined symbol: t
"RenderTable.c", line 533: undefined symbol: txt
"RenderTable.c", line 534: undefined symbol: tag
"RenderTable.c", line 534: warning: improper pointer/integer combination: arg #1
"RenderTable.c", line 534: warning: argument #2 is incompatible with prototype:
        prototype: pointer to pointer to char : "../../include/Motif-2.1/Xm/Xm.h
", line 1494
        argument : pointer to int
"RenderTable.c", line 534: warning: argument #3 is incompatible with prototype:
        prototype: pointer to pointer to char : "../../include/Motif-2.1/Xm/Xm.h
", line 1494
        argument : pointer to int
"RenderTable.c", line 538: warning: improper pointer/integer combination: arg #3
"RenderTable.c", line 541: syntax error before or at: }
"RenderTable.c", line 542: warning: improper pointer/integer combination: arg #1
"RenderTable.c", line 543: warning: improper pointer/integer combination: arg #1
"RenderTable.c", line 556: syntax error before or at: <EOF>
cc: acomp failed for RenderTable.c
*** Error code 1
make: Fatal error: Command failed for target `RenderTable.lo'
Current working directory /proj/xena2/port/lesstif/suncc/lesstif-0.93.34/lib/Xm-
2.1
*** Error code 1

Let me know if you want I can send you a post-preprocesser copy of the
file.

Jim Overly
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to