Subject: lib/11246: Missing math lint library (llib-lm.ln)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 10/17/2000 04:28:16
>Number:         11246
>Category:       lib
>Synopsis:       Missing math lint library (llib-lm.ln)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 17 04:28:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Joly
>Release:        NetBSD-1.4.1 NetBSD-1.4.2
>Organization:
Pasteur Institute
>Environment:
NetBSD arsinoe.sis.pasteur.fr 1.4.1 NetBSD 1.4.1 (GENERIC) #1: Tue Aug 10 00:03:09 MEST 1999     fvdl@struis:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
System does not have mathematic lint library in /usr/libdata/lint
directory.


>How-To-Repeat:
njoly@arsinoe [~/tmp]> cat > test.c <<EOF
#include <stdio.h>
#include <math.h>

int main()
{
  double d;

  d = log( 1.0 );

  printf( "%d\n", d );

  return 0;
}
EOF
njoly@arsinoe [~/tmp]> lint test.c -lm
test.c:
lint: cannot find llib-lm.ln
Lint pass2:
log used( test.c(8) ), but not defined

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: