[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Sep 2021 21:07:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258376
Bug ID: 258376
Summary: net/libnfs: including libnfs.h can cause compile error
(missing struct timeval)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: jcfyecrayz@liamekaens.com
CC: snoe925@gmail.com
Flags: maintainer-feedback?(snoe925@gmail.com)
CC: snoe925@gmail.com
Building code that includes libnfs.h can trigger a build error...
Simple test case:
% cat test-libnfs.h.c
#include <nfsc/libnfs.h>
% cc -I/usr/local/include -c -o /dev/null test-libnfs.h.c
In file included from test-libnfs.h.c:1:
/usr/local/include/nfsc/libnfs.h:1216:23: error: field has incomplete type
'struct timeval'
struct timeval atime;
^
/usr/local/include/nfsc/libnfs.h:1216:15: note: forward declaration of 'struct
timeval'
struct timeval atime;
^
/usr/local/include/nfsc/libnfs.h:1217:23: error: field has incomplete type
'struct timeval'
struct timeval mtime;
^
/usr/local/include/nfsc/libnfs.h:1216:15: note: forward declaration of 'struct
timeval'
struct timeval atime;
^
/usr/local/include/nfsc/libnfs.h:1218:23: error: field has incomplete type
'struct timeval'
struct timeval ctime;
^
/usr/local/include/nfsc/libnfs.h:1216:15: note: forward declaration of 'struct
timeval'
struct timeval atime;
^
3 errors generated.
--
You are receiving this mail because:
You are the assignee for the bug.