On Wed, Oct 04, 2006 at 07:21:33PM +0200, Karl Voit wrote: > Hi! > > I want to use GNU screen on an IBM AIX 5.2 system and I could not > compile it: > > ,----[ uname ] > | [EMAIL PROTECTED]:/home/voitka/downloads/screen-4.0.2>uname -a > | AIX uxibm275 2 5 0040801A4C00 > | [EMAIL PROTECTED]:/home/voitka/downloads/screen-4.0.2> > `---- > > ./configure ... no problem so far > > ,----[ make ] > | misc.c:648: error: too few arguments to function `setenv' > `---- > > Google-URLs found matching this problem: > > http://savannah.gnu.org/bugs/?14277 > http://tinyurl.com/rhs6y > > I changed following part in order to get over it: > > ,----[ misc.c - original part ] > | #else /* USESETENV */ > | # if defined(linux) || defined(__convex__) || (BSD >= 199103) > | ) > | setenv(var, value, 1); > | # else > | setenv(var, value); > | # endif /* linux || convex || BSD >= 199103 */ > | #endif /* USESETENV */ > | } > `---- > > First, I added the "|| defined(__aix__)" but obviously this did not > change anything. Perhaps, "aix" is not the right term here.
Are you using gcc? You can get the default DEFINEs out of gcc with this: gcc -E -dM - </dev/null Run that and grab an appropriate aix defined. -- Michael Parson [EMAIL PROTECTED] _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
