[oi-dev] How to get build-essential for older OS release.

Toomas Soome tsoome at me.com
Thu Nov 7 13:36:27 UTC 2024



> On 7. Nov 2024, at 15:31, RCrispo at atto.com wrote:
> 
> There are kernel api changes between 2024 and older pre 2024 kernel.  So I can't compile on 2024 for older kernel.
> I want to set up a new dev environment to support the older kernel.  From what Andreas Wacknitz said, that's not possible.
> 

The build system does/should not depend on kernel API’s of build host. Do you have example of the specific error? Are you following the instructions listed in https://illumos.org/docs/developers/build/ ?

rgds,
toomas


> 
> -Rob C.
> 
> 
> 
> 
> From:        "Toomas Soome" <tsoome at me.com>
> To:        RCrispo at atto.com
> Cc:        oi-dev at openindiana.org
> Date:        11/06/2024 12:36 PM
> Subject:        Re: [oi-dev] How to get build-essential for older OS release.
> 
> 
> 
> 
> 
> On 6. Nov 2024, at 15:30, RCrispo at atto.com wrote:
> 
> Just doing  "pkg install build-essential", I get the incorporation error:
> 
> pkg install: No matching version of metapackages/build-essential can be installed:
> Reject:  pkg://openindiana.org/metapackages/build-essential@15-2024.0.0.0
> Reason:  This version is excluded by installed incorporation consolidation/userland/userland-incorporation at 0.5.11-2022.0.0.17367
> 
> The pkg update allows build-essential to install but it also upgrades the kernel to 2024. I need to support an older kernel.
> 
> 
> 
> 
> If you  need to support older kernel, I assume you mean that you are building driver for older kernel — that does not mean you need to build it on older system, its just your sources what need to be compatible with your old kernel. Of course, there may be other traps around;)
> 
> anyhow, I’d suggest to avoid dependency of very old software because the issues you are currently seeing but also because of bugs and security. 
> 
> rgds,
> toomas
> 
> -Rob C.
> 
> 
> 
> 
> From:        "Toomas Soome" <tsoome at me.com>
> To:        "OpenIndiana Developer mailing list" <oi-dev at openindiana.org>
> Cc:        RCrispo at atto.com
> Date:        11/05/2024 05:09 PM
> Subject:        Re: [oi-dev] How to get build-essential for older OS release.
> 
> 
> 
> 
> 
> On 5. Nov 2024, at 18:48, Rob C. via oi-dev <oi-dev at openindiana.org> wrote:
> 
> How do I get the build tools for 2022.10 for driver development.
> 
> -Rob. C.
> 
> 
> pkg install build-essential should do. if not, run pkg update; reboot first.
> 
> rgds,
> toomas
> 
> 
> 
> This electronic transmission and any attachments hereto are intended only for the use of the individual or entity to which it is addressed and may contain confidential information belonging to ATTO Technology, Inc. If you have reason to believe that you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this electronic transmission is strictly prohibited. If you have reason to believe that you have received this transmission in error, please notify ATTO immediately by return e-mail and delete and destroy this communication.
> 
> 
> 
> 
> This electronic transmission and any attachments hereto are intended only for the use of the individual or entity to which it is addressed and may contain confidential information belonging to ATTO Technology, Inc. If you have reason to believe that you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this electronic transmission is strictly prohibited. If you have reason to believe that you have received this transmission in error, please notify ATTO immediately by return e-mail and delete and destroy this communication.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20241107/7f8a5039/attachment.html>


More information about the oi-dev mailing list