ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] ltib fails to build


From: Mike Goins
Subject: Re: [Ltib] ltib fails to build
Date: Mon, 15 Jun 2015 17:15:33 -0400

On Mon, Jun 15, 2015 at 4:24 PM, Vassili Syskine <address@hidden> wrote:
> Hi Mike,
>
> I have deleted /opt/ltib, and also directory where netinstall.txt
> got all the stuff, run netinstall again and got the the same error.
>
> So I opened file (menu.c) which contains error lines.
> "next_id" is name of a function.
> Errors are on the lines where this function is called inside
> menu_re_search.
> Funny thing is that next_id is defined right above it!
>
> inline int next_id(int id, bool forward)
>
> I  guess it means that gcc for some reason does not recognize
> this definition. Is it supposed to be running cross-compiler
> at this point? My main gcc is 5.1.0

This is host-compiled for ltib utilities.  Error is mystery and have
not used gcc v5+.  It is likely being strict about something.  I'm
using 4.8 without issue on that package.

How about adding "static" to the function?

static inline int next_id(int id, bool forward)



> Sincerely,
> Vassili
>
>
> On 6/15/2015 12:36 PM, Mike Goins wrote:
>>
>> On Mon, Jun 15, 2015 at 3:29 PM, Vassili Syskine <address@hidden>
>> wrote:
>>>
>>> Hi Stuart,
>>>
>>> Thank you for the advice!
>>>
>>> wget worked ok, but after further googling I found
>>> similar complaint from 2012, turned out I did not
>>> have perl-libwww.
>>>
>>> But now I am against the next roadblock:
>>>
>>> /opt/ltib/usr/src/rpm/BUILD/lkc-1.4/menu.c:416: undefined reference to
>>> next_id
>>>
>>> same for the line 427
>>>
>>> Did you encounter anything like that?
>>>
>>> Sincerely,
>>> Vassili
>>
>>
>>
>> Try removing /opt/ltib/usr/src/rpm/BUILD/lkc-1.4 and build again.
>> It's probably in a half-patched state due to the original failure.
>>
>>
>>
>>>
>>> On 6/15/2015 12:49 AM, Stuart Hughes wrote:
>>>>
>>>>
>>>> Hi Vassili,
>>>>
>>>> Check your network connectivity.
>>>>
>>>> Can you do this without error?
>>>>
>>>> wget http://bitshrine.org/gpp/lkc-1.4-link-order.patch
>>>>
>>>> If not, then LTIB won't work either.
>>>>
>>>> If you are inside some sort of corporate network, you'll have enter the
>>>> proxy settings inside .ltibrc (http://ltib.org/documentation-LtibFaq)
>>>>
>>>> Regards, Stuart
>>>>
>>>> On 11/06/15 23:15, Vassili Syskine wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am trying to build LTIB from scratch, used netinstall.txt
>>>>> as recommended. ./ltib failed with the message
>>>>>
>>>>> Can't get: lkc-1.4-link-order.patch
>>>>>
>>>>> Where does it try to get this patch from and what could be
>>>>> the possible reasons?
>>>>>
>>>>> Vassili Syskine
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> LTIB home page:http://ltib.org
>>>>>
>>>>> Ltib mailing list
>>>>> address@hidden
>>>>> https://lists.nongnu.org/mailman/listinfo/ltib
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> LTIB home page: http://ltib.org
>>>
>>> Ltib mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/ltib
>>>
>>
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/ltib
>>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]