[minicom-Bugs][310565] Compilation error

minicom-bugs at alioth.debian.org minicom-bugs at alioth.debian.org
Wed Feb 6 22:35:42 UTC 2008


Bugs item #310565, was opened at 2008-02-06 22:14
Status: Pending
Priority: 3
Submitted By: Chris Bartkowski (cbart496-guest)
Assigned to: Nobody (None)
Summary: Compilation error 
Category: None
Group: None
Resolution: None


Initial Comment:
My compiler is:
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)

When compiling 'minicom-2.3-rc1' I got an error with 'src/window.c' because of the variable 'BC' is undefined.  It compiles by adding 'extern int BC;' to the top of the file.

----------------------------------------------------------------------

>Comment By: Adam Lackorzynski (al-guest)
Date: 2008-02-06 23:35

Message:
The nightly snapshot has not been updated yet after my commit to the repository.

Please add
  #include <termcap.h>
right after #include <wchar.h>
That's the change I committed to the repository. I would be thankful if you could test this.

Thanks

----------------------------------------------------------------------

Comment By: Chris Bartkowski (cbart496-guest)
Date: 2008-02-06 23:10

Message:
I downloaded the nightly snapshot and it gave me the same error (line 2005 window.c).  Adding the same extern allowed it to compile again.  

----------------------------------------------------------------------

Comment By: Adam Lackorzynski (al-guest)
Date: 2008-02-06 22:51

Message:
Thanks for the report.

Does it work unmodified after a 'cvs update'?

thanks.

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=100031&aid=310565&group_id=30018



More information about the minicom-devel mailing list