OBJTOOL Build error

John Aron john at aronetics.com
Thu Dec 1 10:52:16 EST 2022


Oh Dear -

This wiki page brings my mind back to a hacker listserv conversation about
semantics of discourse and Kevin Mitnick isms. Please accept my inline or
outline apologies.

John

-----Original Message-----
From: Greg KH <gregkh at linuxfoundation.org> 
Sent: Thursday, December 1, 2022 12:58 AM
To: John Aron <john at aronetics.com>
Cc: 'Mark Salter' <mark.salter at canonical.com>; 'Mark Lewis'
<mark.lewis at canonical.com>; regressions at lists.linux.dev;
stable at vger.kernel.org; kernelnewbies at kernelnewbies.org
Subject: Re: OBJTOOL Build error

A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Wed, Nov 30, 2022 at 06:36:19PM -0500, John Aron wrote:
> One C file and a few header files.

Can you provide a link to them so that we can see what might be the problem?
Without that, it's impossible to help, sorry.
--
The repo is in a private repo online, the entry is:
static int __init kernel_module_start(void)
{
    Configuration* configuration = NULL;
    // enable the logger
    Logger_set_enabled(true);
    log_info("Starting Aronetics kernel module (configuration file name:
\"%s\")...\n", _FILE_NAME_CONFIGURATION);
    controller = Controller_new(_FILE_NAME_CONFIGURATION);
    if (controller != NULL)
    {
        configuration = Controller_get_configuration(controller);
        String_dump_and_delete(Configuration_to_string(configuration));
        log_verbose("    Initializing mutex...\n");
        mutex_init(&controller_mutex);
        switch (Configuration_get_execution_mode(configuration))
        {
//          case TestExecutionMode:
//              run_tests();
//              break;
            default:
                log_verbose("    Initializing controller...\n");
                if (Controller_initialize(controller) == 0)
                {
                    log_verbose("    Setting up timer...\n");
                    timer_setup(&controller_timer, on_timer, 0);
                    log_verbose("    Initalizing timer...\n");
                    mod_timer(&controller_timer, jiffies +
msecs_to_jiffies(DELAY_ITERATION));
                    log_verbose("Aronetics kernel module started\n");
                }
                else
                {
                    log_error("Initialization failed.");
                }
                break;
        }
    }
    return 0;
}

thanks,

greg k-h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7097 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20221201/55da3bf4/attachment.p7s>


More information about the Kernelnewbies mailing list