Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13839 closed defect (duplicate)

Minicom fails to build on 10.5.1

Reported by: jpollock1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

Minicom fails to build on 10.5.1

--->  Building minicom with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_minicom/work/minicom-2.1" && make all " returned error 2
Command output: make  all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in extras
Making all in linux
make[3]: Nothing to be done for `all'.
Making all in tables
make[3]: Nothing to be done for `all'.
Making all in termcap
make[3]: Nothing to be done for `all'.
Making all in terminfo
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in man
make[2]: Nothing to be done for `all'.
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in lib
make[2]: Nothing to be done for `all'.
Making all in src
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c window.c
window.c:65: error: static declaration of 'BC' follows non-static declaration
/usr/include/termcap.h:59: error: previous declaration of 'BC' was here
make[2]: *** [window.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:2 Changed 17 years ago by pruchai@…

I am having the same issue, but i got it resolved by going into

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_minicom/work/minicom-2.1

and changing

line 65 in

src/window.c

from

static char *BC, *CR, *NL;

to

static char *CR, *NL;

and re-running

port install minicom

that worked like a charm

Have to add that this is not a MacPorts related issue, as it also present in upstream.

Also, i can not take credit for this fix, because i found it here

comment:3 Changed 17 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #13025.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.