[minicom-Bugs][310565] Compilation error

minicom-bugs at alioth.debian.org minicom-bugs at alioth.debian.org
Thu Feb 7 00:11:05 UTC 2008


Bugs item #310565, was opened at 2008-02-06 21: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: Chris Bartkowski (cbart496-guest)
Date: 2008-02-07 00:11

Message:
Adam,

I tried that to no avail.  It's not really a big deal for me because apparently Fedora provides it through repositories and I installed it successfully through yum.  I did some searching online and it looks like other people have encountered the error in the past.  Let me know if you'd like me to try anything else.

Thanks,
Chris

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

Comment By: Adam Lackorzynski (al-guest)
Date: 2008-02-06 22: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 22: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 21: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