Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 1998 16:17:04 -0800 (PST)
From:      dennis.glatting@software-munitions.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   i386/9257: fpathconf() missing from libc_r
Message-ID:  <199901010017.QAA07778@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         9257
>Category:       i386
>Synopsis:       fpathconf() missing from libc_r
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 31 16:20:01 PST 1998
>Last-Modified:
>Originator:     Dennis Glatting
>Organization:
Software Munitions
>Release:        3.0 RELEASE
>Environment:
>Description:
bfd> uname -a
FreeBSD bfd 3.0-RELEASE FreeBSD 3.0-RELEASE #3: Sat Dec 26 23:09:13 PST 1998
 root@bfd:/usr/src/sys/compile/BFD  i386

>How-To-Repeat:
Compile the enclosed file. The following is a compilation when it
works (not against pthreads) and when it fails (against pthreads).

bfd> cc j.c
bfd> cc -pthread j.c
/var/tmp/ccA224711.o: In function `main':
/var/tmp/ccA224711.o(.text+0x8): undefined reference to `fpathconf'
bfd> 



#include <unistd.h>

int main( void ) {

        fpathconf( 0, _PC_PATH_MAX );
        return 0;
}


>Fix:
Unknown.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901010017.QAA07778>