Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13424 closed defect (duplicate)

minicom fails to compile under 10.5

Reported by: dsinn@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: minicom Cc:
Port:

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

minicom files to compile under 10.5. Binary built under 10.4 does function correctly.


fubar:~ dsinn$ sudo port install minicom
--->  Fetching minicom
--->  Verifying checksum(s) for minicom
--->  Extracting minicom
--->  Applying patches to minicom
--->  Configuring minicom
--->  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: Making all in po
make[2]: Nothing to be done for `all'.
Making all in lib
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -O2 -c error.c
rm -f libport.a
ar cru libport.a  error.o 
ranlib libport.a
Making all in src
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c minicom.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c vt100.c
vt100.c: In function 'vt_init':
vt100.c:269: warning: pointer targets in assignment differ in signedness
vt100.c:270: warning: pointer targets in assignment differ in signedness
vt100.c: In function 'state4':
vt100.c:818: warning: pointer targets in assignment differ in signedness
vt100.c:822: warning: pointer targets in assignment differ in signedness
vt100.c: In function 'state5':
vt100.c:844: warning: pointer targets in assignment differ in signedness
vt100.c:848: warning: pointer targets in assignment differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c config.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c help.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c updown.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c util.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -I../lib  -O2 -Wall -W -c dial.c
gcc -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 (7)

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

Description: modified (diff)

comment:2 Changed 17 years ago by jsc1@…

Adding the leopard kernel version to the platform line, like so:

platform 8 9 {

patchfiles-append patch-window.c

}

This fixed the compile issues for me, don't know if this would be proper way of fixing the issue.

comment:3 Changed 17 years ago by dsinn@…

I can confirm that fixed it for me too.

David

comment:4 Changed 17 years ago by jon.passki@…

I just built, tested and confirmed access on cyclades CS4008. Please commit this change to the Portfile! :-)

Jon

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

Owner: changed from macports-tickets@… to waqar@…

Assigning to maintainer.

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

Resolution: duplicate
Status: newclosed

Duplicate of #13025.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.