Bug 268

Summary: ssh-keysign build failure on AIX with gcc
Product: Portable OpenSSH Reporter: Darren Tucker <dtucker>
Component: MiscellaneousAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: Other   
OS: AIX   
Attachments:
Description Flags
Conditionally define __progname in ssh-keysign.c none

Description Darren Tucker 2002-06-07 17:26:10 AEST
$ gcc -o ssh-keysign ssh-keysign.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib  
-L/usr/local/lib -lssh -lopenbsd-compat -lz  -lcrypto   
ld: 0711-317 ERROR: Undefined symbol: __progname
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status

Following patch conditionally defines __progname (stolen directly from ssh.c).

Any reason it shouldn't be in a .h file once rather than 11 .c files?
Comment 1 Darren Tucker 2002-06-07 17:34:52 AEST
Created attachment 108 [details]
Conditionally define __progname in ssh-keysign.c
Comment 2 Ben Lindstrom 2002-06-08 00:37:56 AEST
Ermm.. Must have fat-figured the grep for it.  It's applied.
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED