Project

General

Profile

Bug #12847

#error "Your system has neither funopen nor fopencookie, cannot continue"

Added by giahung 1997tn about 2 months ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

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.

History

#1

Updated by giahung 1997tn about 2 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"
  1. 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?

#2

Updated by Andrew Stormont 17 days ago

You either need to implement those functions or modify FreeBSD's pkg to build without them.

Also available in: Atom PDF