Voodooprojects

Chameleon => DevTalk => Patches => Topic started by: Slice on July 22, 2011, 09:01:04 AM

Title: How to create a module?
Post by: Slice on July 22, 2011, 09:01:04 AM
I think we can discuss all question about modules creation for Chameleon.
1. Didn't find a description how to fill these infos
Code: [Select]
Module 'Symbols.dylib' by 'Chameleon' Loaded.
Description: Chameleon symbols for linking
Version: 0
Compat:  0
Module 'klibc.dylib' by 'Unknown' Loaded.
Description:
Version: 0
Compat:  0
Module 'Resolution.dylib' by 'Unknown' Loaded.
Description:
Version: 0
Compat:  0

2. Each modules should be rebuild with main body? No hope to use modules from previous build?
Title: Re: How to create a module?
Post by: meklort on July 25, 2011, 02:50:53 PM
The author, description, and version info is embedded into the dylib file at compile time. This is set in the Makefile.

Presently, this information is only read out if the file is compiled directly into the boot file. If not, the module system doesn't save this information. It'll be added in at a later date.
Title: Re: How to create a module?
Post by: Slice on August 04, 2011, 07:46:15 PM
I want to add new module. I created Cconfig, I did "make config" nontheless
Code: [Select]
Module 'klibc.dylib' by 'Unknown' Loaded.
Description:
Version: 0
Compat:  0
WARNING: Unable to start NVRAM.dylib
Module 'Resolution.dylib' by 'Unknown' Loaded.
Description:
Version: 0
Compat:  0
Title: Re: How to create a module?
Post by: Slice on August 06, 2011, 07:20:45 PM
One day I understood why it happens. Now my module works.