Skip Menu |
 

Download (untitled) / with headers
text/plain 4.8KiB
From root@tigger.it.wsu.edu Mon Mar 12 14:49:01 2001
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.72.0.53])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id OAA19686
for <bugs@RT-11.mit.edu>; Mon, 12 Mar 2001 14:49:01 -0500 (EST)
Received: from tigger.it.wsu.edu (IDENT:root@tigger.it.wsu.edu [134.121.11.6])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id OAA24152
for <krb5-bugs@mit.edu>; Mon, 12 Mar 2001 14:49:01 -0500 (EST)
Received: (from root@localhost)
by tigger.it.wsu.edu (8.9.3/8.9.3) id LAA08333;
Mon, 12 Mar 2001 11:48:13 -0800
Message-Id: <200103121948.LAA08333@tigger.it.wsu.edu>
Date: Mon, 12 Mar 2001 11:48:13 -0800
From: guenther@wsu.edu
Reply-To: guenther@wsu.edu
To: krb5-bugs@mit.edu
Subject: krb5-build on tru64 v5.1
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 927
>Category: krb5-build
>Synopsis: error while building k5 1.2.2
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: tlyu
>State: open
>Class: support
>Submitter-Id: unknown
>Arrival-Date: Mon Mar 12 14:50:00 EST 2001
>Last-Modified: Fri Mar 16 14:48:00 EST 2001
>Originator: guenther@wsu.edu
>Organization:
Washington State University
Show quoted text
>Release: krb5-1.2.2
>Environment:
Tru 64 Alpha on v5.1
System: athena.it.wsu.edu
Architecture: alpha

Show quoted text
>Description:
When compiling with gcc I get:

gcc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STAT=1 -DHAVE_ACCESS=1 -DKRB5_KRB4_COMPAT -I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5 -I. -I./../et -c argv_parse.c
argv_parse.c: In function `argv_parse':
argv_parse.c:49: warning: type mismatch in implicit declaration for built-in function `strlen'
gcc -L../../lib -Wl,-oldstyle_liblookup -o test_profile test_profile.o \
argv_parse.o prof_tree.o prof_file.o prof_parse.o prof_get.o prof_set.o prof_err.o prof_init.o -lcom_err
collect2: ldstyle_liblookup: cannot open as COFF file
gmake[2]: *** [test_profile] Error 1
gmake[2]: Leaving directory `/usr/local/src/krb5/krb5-1.2.2/src/util/profile'
gmake[1]: *** [all-recurse] Error 1
gmake[1]: Leaving directory `/usr/local/src/krb5/krb5-1.2.2/src/util'
gmake: *** [all-recurse] Error 1

It looks like it mangled the "-oldstyle_liblookup" on the compile. Wondering if it was a problem with "make" I reran with "gmake" but it didn't make any difference.

Show quoted text
>How-To-Repeat:

Show quoted text
>Fix:

Show quoted text
>Audit-Trail:

From: Dean Guenther <guenther@wsu.edu>
To: krb5-bugs@mit.edu, tlyu@mit.edu
Cc: Subject: Re[2]: krb5-build/927: krb5-build on tru64 v5.1
Date: Tue, 13 Mar 2001 08:30:28 -0800 (PST)

I removed the "-oldstyle_liblookup" from the link and it
appears to have gotten around the error. Did I cripple
anything by removing the "-oldstyle_liblookup"? -- Dean

On Mon, 12 Mar 2001 14:50:01 -0500 (EST) <krb5-bugs@mit.edu> wrote:

Show quoted text
> Thank you very much for your problem report.
> It has the internal identification `krb5-build/927'.
> The individual assigned to look at your
> report is: tlyu.
>
> >Category: krb5-build
> >Responsible: tlyu
> >Synopsis: error while building k5 1.2.2
> >Arrival-Date: Mon Mar 12 14:50:00 EST 2001


--
Dean Guenther Internet: guenther@wsu.edu
Washington State University AT&T: 509 335-0433
Pullman, WA. 99164-1222 fax: 509 335-0540
www & UNIX System Admin



From: Dean Guenther <guenther@wsu.edu>
To: krb5-bugs@mit.edu, tlyu@mit.edu
Cc: Subject: Re[3]: krb5-build/927: krb5-build on tru64 v5.1
Date: Fri, 16 Mar 2001 11:46:21 -0800 (PST)

Please note that if I use cc instead of gcc I do not have a
problem compiling kerberos on Tru64 5.1. -- Dean


On Tue, 13 Mar 2001 08:30:28 -0800 (PST) Dean Guenther <Dean Guenther <guenther@wsu.edu>> wrote:

Show quoted text
> I removed the "-oldstyle_liblookup" from the link and it
> appears to have gotten around the error. Did I cripple
> anything by removing the "-oldstyle_liblookup"? -- Dean
>
> On Mon, 12 Mar 2001 14:50:01 -0500 (EST) <krb5-bugs@mit.edu> wrote:
>
> > Thank you very much for your problem report.
> > It has the internal identification `krb5-build/927'.
> > The individual assigned to look at your
> > report is: tlyu.
> >
> > >Category: krb5-build
> > >Responsible: tlyu
> > >Synopsis: error while building k5 1.2.2
> > >Arrival-Date: Mon Mar 12 14:50:00 EST 2001
>
>
> --
> Dean Guenther Internet: guenther@wsu.edu
> Washington State University AT&T: 509 335-0433
> Pullman, WA. 99164-1222 fax: 509 335-0540
> www & UNIX System Admin
>
>


--
Dean Guenther Internet: guenther@wsu.edu
Washington State University AT&T: 509 335-0433
Pullman, WA. 99164-1222 fax: 509 335-0540
www & UNIX System Admin


Show quoted text
>Unformatted:
A real fix would probably involve looking to see if GNU ld is used with
gcc, which is a much more involved test than what we currently do.
From: tlyu@mit.edu
Subject: CVS Commit
Only use -Wl,-oldstyle_liblookup if using native linker. Check for
native linker if using gcc.


To generate a diff of this commit:



cvs diff -r5.473 -r5.474 krb5/src/ChangeLog
cvs diff -r1.304 -r1.305 krb5/src/aclocal.m4
cvs diff -r5.225 -r5.226 krb5/src/config/ChangeLog
cvs diff -r5.32 -r5.33 krb5/src/config/shlib.conf