Bug 45

Summary: configure refines a function in skey, which then bombs
Product: Portable OpenSSH Reporter: Michael Nolan <nolan>
Component: Build systemAssignee: Tim Rice <tim>
Status: CLOSED FIXED    
Severity: normal CC: pekkas
Priority: P2    
Version: -current   
Hardware: SPARC   
OS: Solaris   
Attachments:
Description Flags
fix skey linking none

Description Michael Nolan 2001-12-15 02:02:18 AEDT
The configure script uses a dummy function pointer
char (*f) ();
to test for skey libraries
But f is defined in the skey library, so the compilation
bombs and skey is (erroneously) determined not to exist.

workaround: change the name of the dummy function in configure
to zzf
Comment 1 Tim Rice 2002-01-31 16:37:41 AEDT
Autoconf uses char (*f) (); in all it's AC_CHECK_FUNC tests.
Seems like skey should be fixed.
Feel free to provide a patch to autoconf.ac that uses AC_TRY_RUN
instead of AC_CHECK_FUNC(skey_keyinfo,
Comment 2 Pekka Savola 2002-02-12 10:16:00 AEDT
This happens on RHL72 too.  Patch attached; will describe the situation on the 
mailing list in more detail.
Comment 3 Pekka Savola 2002-02-12 10:18:13 AEDT
Created attachment 22 [details]
fix skey linking
Comment 4 Tim Rice 2002-02-26 17:04:46 AEDT
I've addressed this bug (and several others) in modifications i'm in
the process of testing now. If all my machines build OK I'll commit in
the morning.
Comment 5 Tim Rice 2002-03-09 04:35:55 AEDT
Patch added 26 Feb 2002
Comment 6 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED