Menu

#21 1.1: Fixing make of bin if getopt is missing

GC 1.x
pending
None
6
2014-12-10
2014-12-10
No

Patch for reference, needed if ./configure didn't find getopt_long_only.

checking for nl_langinfo and CODESET... yes
checking for getopt_long_only... no
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmp_randinit in -lgmp... yes
checking matching GMP version ... yes

where make will stop during linking of cobcrun (bin):

ld: Unsatisfied symbol "getopt_long_only" in file cobcrun-cobcrun.o
1 errors.
collect2: ld returned 1 exit status
*** Error exit code 1

If we do an additional release in the 1.x series this patch will be included.

Simon

1 Attachments

Related

Discussion: Compiling on HP-UX

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.