[krbdev.mit.edu #2839] compilation error on AIX 5.1 and gcc 3.4.4

sharma via RT rt-comment at krbdev.mit.edu
Wed Dec 22 15:12:28 EST 2004


Hi

I am attaching config.log and config.status file from
krb5-1.4-beta2/src/appl/telnet directory. I hope config.log will be able to
help you.

Also I searched all config.log files on my system for SETENV word. The
result is

bash-2.04$  find . -name config.log -exec grep SETENV {} \;
#define HAVE_SETENV 1
#define NEED_SETENV 1
#define NEED_UNSETENV_PROTO 1
#define HAVE_SETENV 1
#define HAVE_SETENV 1

bash-2.04$  find . -name config.log -exec grep -l SETENV {} \;
./krb5-1.4-beta2/src/appl/telnet/config.log
./krb5-1.4-beta2/src/clients/config.log
./krb5-1.4-beta2/src/include/config.log

Here ./krb5-1.4-beta2/src/clients and ./krb5-1.4-beta2/src/include
config.log files seem to set SETENV properly. I suspect some thing in
./krb5-1.4-beta2/src/appl/telnet configure script which is reflected in its
config.log file where something is wrong with setenv detection program.

Hope this will help.

Thanks

SAM

-----Original Message-----
From: 0000-Admin [mailto:daemon at MIT.EDU] On Behalf Of Tom Yu via RT
Sent: Tuesday, December 21, 2004 1:24 PM
To: sam.sharma at gat.com
Cc: krb5-prs at mit.edu
Subject: Re: [krbdev.mit.edu #2839] compilation error on AIX 5.1 and gcc
3.4.4

>>>>> "sharma" == sharma via RT <rt-comment at krbdev.mit.edu> writes:

sharma> I have a compilation error with setenv API redefinition in krb code
sharma> ./libtelnet/forward.c and system header files on AIX 5.1 with gcc
3.4.4
sharma> [2.95 also] compiler.

[...]

sharma> I looked into the problem and found that in compilation the
-DHAVE_SETENV=1
sharma> and -DNEED_SETENV=1 are going in and ./libtelnet/forward.c has code
like

[...]

sharma> #if defined(NEED_SETENV) || defined(NEED_SETENV_PROTO)
sharma> extern int setenv(char *, char *, int);
sharma> #endif

Ok, that's very interesting.  Could you please send the output of the
configure script starting from "configuring in telnet" and continuing
up until the "configuring in tests"?

---Tom


More information about the krb5-bugs mailing list