|
From: | David Johnson |
Subject: | RE: building DDD - Suse Linux + LessTif |
Date: | Thu, 21 Jun 2001 12:53:27 -0400 |
I found a way around this, in vsl-gramma.C there is a getenv prototype:
extern char* getenv()
when I change this to:
extern char* getenv( const char* pVarname)
VSLRead.c builds OK.
I guess that argument-less prototype is an old form that maybe the latest gcc doesn't tolerate very well.
-----Original Message-----
From: David Johnson
Sent: Thursday, June 21, 2001 11:30 AM
To: 'address@hidden'
Subject: building DDD - Suse Linux + LessTif
Hi,
I am trying to use DDD under Suse.
The first problem I encountered was that Suse includes openMotif but apparently not libXm.a.
(Only libXm.s0.2). To work around this, I installed LessTif. This was a problem because there are some file conflicts (I guess) between LessTif and openMotif. By telling the package manager to overwrite files, LessTif can be installed.
Now the problem I am having is in VSLRead.C, which includes vsl-gramma.C.
Somewhere in there, somehow, the compiler is complaining that in function VSLLib_parse, in y.tab.c,
getenv() is being passed too many arguments.
It's very strange, y.tab.c doesn't seem to exist on my system. Is this somehow generated at compile time and then disappears? Ah, or maybe it's in a library that's out of sync?
Any ideas appreciated.
[Prev in Thread] | Current Thread | [Next in Thread] |