symbol '_gotoxy' in /usr/lib/bcc/libdos.a should be exported to match <conio.h>

Bug #261216 reported by Benjamin C. Wiley Sittler
4
Affects Status Importance Assigned to Milestone
linux86 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: bcc

I ran into a problem while trying to compile this file:

/*

 home.c - home the cursor using Borland-style conio

 compile with:

 bcc -ansi -Md -o home home.c

*/
#include <conio.h>
int main(int argc, char **argv)
{
gotoxy(1,1);
return 0;
}

The error was:

undefined symbol: _gotoxy

Upon inspection of the library we see why:

$ nm86 /usr/lib/bcc/libdos.a | fgrep -i gotoxy
00000000 t _gotoxy
00000004 a gotoxy.off

The symbol '_gotoxy' is defined as non-exported code (t) rather than
exported code (T)... maybe there is a missing 'extern' somewhere?

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-backports'), (500, 'hardy')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-16-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bcc depends on:
ii bin86 0.16.17-2ubuntu1 16-bit x86 assembler and loader
ii libc6 2.7-10ubuntu3 GNU C Library: Shared libraries

Versions of packages bcc recommends:
ii elks-libc 0.16.17-2ubuntu1 16-bit x86 C library and include f

-- no debconf information

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.