Bug #12847
#error "Your system has neither funopen nor fopencookie, cannot continue"
0%
Description
I want to develop my own Illumos distro and I would follow the way of Tribblix that is converting IPS packages into another format to use with other package manager that doesn't have ZFS as a hard requirement. Doing so I could continue to keep my distro to run properly on UFS like Tribblix. And the package manager I choose is FreeBSD's pkg. I tried to get FreeBSD's pkg up and running via pkgsrc (pkgsrc/pkgtools/pkg), everything went normally before I encountered this error:
bsd_compat.h:163:3: error: #error "Your system has neither funopen nor fopencookie, cannot continue" # error "Your system has neither funopen nor fopencookie, cannot continue"
As my little research show, this is the problem of the system, not pkgsrc so I report it here.
The gcc I used is from the package build-essential.
Updated by giahung 1997tn 8 months ago
giahung 1997tn wrote:
I want to develop my own Illumos distro and I would follow the way of Tribblix that is converting IPS packages into another format to use with other package manager that doesn't have ZFS as a hard requirement. Doing so I could continue to keep my distro to run properly on UFS like Tribblix. And the package manager I choose is FreeBSD's pkg. I tried to get FreeBSD's pkg up and running via pkgsrc (pkgsrc/pkgtools/pkg), everything went normally before I encountered this error:
bsd_compat.h:163:3: error: #error "Your system has neither funopen nor fopencookie, cannot continue"
- error "Your system has neither funopen nor fopencookie, cannot continue"
As my little research show, this is the problem of the system, not pkgsrc so I report it here.
The gcc I used is from the package build-essential.
No one has any ideas about this?
Updated by Andrew Stormont 6 months ago
You either need to implement those functions or modify FreeBSD's pkg to build without them.