Bug 268 - ssh-keysign build failure on AIX with gcc
Summary: ssh-keysign build failure on AIX with gcc
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: Other AIX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-07 17:26 AEST by Darren Tucker
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
Conditionally define __progname in ssh-keysign.c (529 bytes, patch)
2002-06-07 17:34 AEST, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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