On 12/6/2011 11:45 AM, Luigi Gangitano wrote:
> Hi,
>
> I've just tried to build the current (2.1-13) minicom package on Lion 10.7
> and builds fail. Please find the attached build log for details.
>
> Regards,
>
> L
>
> ~ fink install minicom
> Scanning package description files..........
> Information about 3911 packages read in 1 seconds.
> The following package will be installed or updated:
> minicom
> The following additional package will be installed:
> libgettext3-dev
> Do you want to continue? [Y/n]
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -I../lib -g -O2 -Wall -W
> -c updown.c
> minicom.c:156:13: error: static declaration of 'getline' follows non-static
> declaration
> static ELM *getline(w, no)
> ^
> /usr/include/stdio.h:449:9: note: previous declaration is here
> ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict)
> __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
> ^
> minicom.c:197:31: error: too few arguments to function call, expected 3, have
> 2
> wdrawelm(w, f, getline(w, y++));
> ~~~~~~~ ^
> minicom.c:225:24: error: too few arguments to function call, expected 3, have
> 2
> tmp_e = getline(w, y++);
> ~~~~~~~ ^
> minicom.c:324:35: error: too few arguments to function call, expected 3, have
> 2
> tmp_e = getline(w_hist, next_line);
> ~~~~~~~ ^
> minicom.c:393:43: error: too few arguments to function call, expected 3, have
> 2
> wdrawelm_inverse(w, y, getline(w, y+citey));
> ~~~~~~~ ^
> minicom.c:395:35: error: too few arguments to function call, expected 3, have
> 2
> wdrawelm(w, y, getline(w, y+citey));
> ~~~~~~~ ^
> minicom.c:419:22: error: too few arguments to function call, expected 3, have
> 2
> tmp_e = getline(w, y);
> ~~~~~~~ ^
> minicom.c:602:34: error: too few arguments to function call, expected 3, have
> 2
> tmp_e = getline(b_us, y);
> ~~~~~~~ ^
> minicom.c:621:57: error: too few arguments to function call, expected 3, have
> 2
> if (inverse) wdrawelm_inverse(b_us, 0, getline(b_us, y));
> ~~~~~~~ ^
> minicom.c:622:41: error: too few arguments to function call, expected 3, have
> 2
> else wdrawelm(b_us, 0, getline(b_us, y));
> ~~~~~~~ ^
> minicom.c:655:49: error: too few arguments to function call, expected 3, have
> 2
> tmp_e = getline(b_us, y + b_us->ys - 1);
> ~~~~~~~ ^
> minicom.c:676:36: error: too few arguments to function call, expected 3, have
> 2
> getline(b_us, y + b_us->ys - 1));
> ~~~~~~~ ^
> minicom.c:679:36: error: too few arguments to function call, expected 3, have
> 2
> getline(b_us, y + b_us->ys - 1));
> ~~~~~~~ ^
> minicom.c:763:59: error: too few arguments to function call, expected 3, have
> 2
> wdrawelm_inverse(b_us, cite_y, getline(b_us, cite_ystart));
> ~~~~~~~ ^
> minicom.c:844:10: warning: format string is not a string literal (potentially
> insecure) [-Wformat-security]
> printf(_("A terminal program for Linux and other unix-like systems.\n\n"));
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./intl.h:14:18: note: instantiated from:
> # define _(Text) gettext (Text)
> ^
> 26 warnings and 14 errors generated.
> make[2]: *** [minicom.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> config.c:34:1: warning: function '_rcsid' is not needed and will not be
> emitted [-Wunneeded-internal-declaration]
> RCSID("$Id: config.c,v 1.5 2003/04/21 23:56:46 al-guest Exp $")
> ^
> ./rcsid.h:11:57: note: instantiated from:
> # define RCSID(x) static char rcsid[] = x; static char *_rcsid(void) {
> _rcsid(); return rcsid; }
> ^
> updown.c:26:1: warning: function '_rcsid' is not needed and will not be
> emitted [-Wunneeded-internal-declaration]
> RCSID("$Id: updown.c,v 1.1.1.1 2003/03/30 18:55:54 al-guest Exp $")
> ^
> ./rcsid.h:11:57: note: instantiated from:
> # define RCSID(x) static char rcsid[] = x; static char *_rcsid(void) {
> _rcsid(); return rcsid; }
> ^
> 7 warnings generated.
> 1 warning generated.
> 1 warning generated.
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-minicom-2.1-13
> (Lettura del database ... 31766 file e directory attualmente installati.)
> Rimozione di fink-buildlock-minicom-2.1-13 ...
> Failed: phase compiling: minicom-2.1-13 failed
Can you try this info file and report if it 1) builds on 10.7 and 2) the
program actually works?
http://paste.lisp.org/display/126327
Hanspeter
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel