Opened 20 years ago

Closed 19 years ago

#3009 closed defect (fixed)

BUG: Minicom fails to compile on Tiger

Reported by: bahamat@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Transcript follows:

$ 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 com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_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.. -g -O2 -I../intl -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../lib -g -O2 -I../intl -Wall -W -c minicom.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -I../intl -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../lib -g -O2 -I../intl -Wall -W -c config.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -I../intl -Wall -W -c help.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -I../intl -Wall -W -c updown.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -I../intl -Wall -W -c util.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -I../intl -Wall -W -c dial.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -g -O2 -I../intl -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

Change History (6)

comment:1 Changed 20 years ago by bahamat@…

op_sys: Mac OS X 10.0Mac OS X 10.4

comment:2 Changed 20 years ago by mww@…

Owner: changed from darwinports-bugs@… to waqar@…
Summary: Minicom fails to compile on TigerBUG: Minicom fails to compile on Tiger

comment:3 Changed 20 years ago by mike_lists@…

I changed the file window.c:65 as follows and everything seems to work

static char *CS, *SF, *SR, *VB, *BL; static char *VE, *VI, *KS, *KE; static char *CD, *CL, *IC, *DC;

  • static char *BC, *CR, *NL;

+ static char *CR, *NL;

#if ST_LINE static char *TS, *FS, *DS; #endif

Warning - I dont really know what I am doing here... YMMV Clean install of Tiger and DP1 with May 12, selfupdate

Mike

comment:4 Changed 20 years ago by segr@…

This also worked for me on my 10.4.1 system. I'm in the same boat.. I'm not sure if this is the "right" fix, but minicom compiled and installed.

Thanks, Stephane.

(In reply to comment #1)

I changed the file window.c:65 as follows and everything seems to work

static char *CS, *SF, *SR, *VB, *BL; static char *VE, *VI, *KS, *KE; static char *CD, *CL, *IC, *DC;

  • static char *BC, *CR, *NL;

+ static char *CR, *NL;

#if ST_LINE static char *TS, *FS, *DS; #endif

Warning - I dont really know what I am doing here... YMMV Clean install of Tiger and DP1 with May 12, selfupdate

Mike

comment:5 Changed 19 years ago by waqar@…

Status: newassigned

I will go ahead and make this fix for Tiger, and leave unchanged to Panther.

comment:6 Changed 19 years ago by waqar@…

Resolution: fixed
Status: assignedclosed

Fix checked in!

Note: See TracTickets for help on using tickets.