Or rather, if it can't read the .h file (possibly because permissions
are wrong because of the sudo) then the script wont generate this file
properly.

On Tue, Feb 2, 2016 at 11:28 AM, Kevin Klues <[email protected]> wrote:
> Keep in mind that kern/src/error.c is generated at compile time.  Take
> a look at the top of kern/src/Kbuild. If the cross compiler isn't
> working properly it wont be able to generate this file.
>
> On Tue, Feb 2, 2016 at 11:26 AM, Barret Rhoden <[email protected]> wrote:
>> Hi -
>>
>> On 2016-02-02 at 10:38 Matthew George Kallarackal
>> <[email protected]> wrote:
>>> I was trying to install akaros to try to implement another scheduling
>>> algorithm But i cant seem install it One error after the other I
>>> built the cross compiler x86_64 But i am not able to build the kernel
>>>
>>> This is what i did
>>> opened gedit bashrc
>>> added this to the end of it-->export PATH="<pathofbin:$PATH"
>>> saved it opened a new terminal
>>> went to the akaros-master directory
>>> then-->sudo make
>>
>> I don't build it with sudo.  Maybe that is causing some issues?
>>
>>> then i got this error
>>> "
>>>   CC      kern/src/erroro
>>> kern/src/errorc:3:1: error: expected expression at end of input
>>>  const char *errno_strings[] = {
>>>  ^
>>> make[1]: *** [kern/src/erroro] Error 1
>>> make: *** [kern/src] Error 2
>>> "
>>
>> That looks a little weird.  For some debugging output, try this:
>>
>> $ make V=1
>>
>> That will give the commands make (via Kbuild) is using.  Then we can
>> try the command that is failing directly and try to debug that.
>>
>> Also, the formatting of the error looks like it's losing characters.
>> For instance, the file is "kern/src/error.c", not "kern/src/errorc".
>>
>> Barret
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Akaros" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> ~Kevin



-- 
~Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to