ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Net-snmp compilation failure


From: Stuart Hughes
Subject: Re: [Ltib] Net-snmp compilation failure
Date: Fri, 13 Aug 2010 18:35:41 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Jorge,

Glad it works.  If you're using an ISO image, to avoid other problems it
might be worth switching to the Savannah CVS version (create in a new
directory, they can co-exits).  This way it's easier to pick up bug-fixes.

Regards, Stuart

Jorge A. Castro wrote:
> Hi Stuart
> 
> I tried it replacing the net-snmp.spec file with the last version
> available in
> http://cvs.savannah.gnu.org/viewvc/ltib/dist/lfs-5.1/net-snmp/?root=ltib
> and the compilation worked fine. A preliminary test allowed to see it
> working fine.
> 
> Thanks a lot!
> 
> Jorge Castro
> 
> On 08/12/2010 12:10 AM, Stuart Hughes wrote:
>> Hi Jorge,
>>
>> If you're using the Savannah CVS version: cvs up -dp
>>
>> If you're using something else, then depending on how old it is you can
>> get a copy of the .spec file and replace the one you have.   Look here:
>> http://ltib.org/resources-download and follow the browse CVS link and
>> you can find all the latest sources.
>>
>> Regards, Stuart
>>
>> Jorge A. Castro wrote:
>>   
>>> I found what it's below related to net-snmp compilation failure. I'm
>>> wondering how
>>> can I do the update Stuart refers in the net-snmo.spec file and if this
>>> works solutions
>>> works and allows to compile the net-snmp.
>>>
>>> Best regards,
>>>
>>> Jorge Castro
>>>
>>> Hi Miguel,
>>>
>>> It seems to be a problem with that package version not reliably
>>> supporting parallel Make.  I've checked in an update to
>>> dist/lfs-5.1/net-snmp/net-snmp.spec that should fix this for you.
>>>
>>> Regards, Stuart
>>>
>>> Miguel Aveiro wrote:
>>>     
>>>> / Hi everybody,/
>>>> / /
>>>> / I'm trying to compile net-snmp from GPP in Fedora 12, using the
>>>> custom/
>>>> / toolchain and an Embedded Artists 3250 board, but I get these error:/
>>>> / /
>>>> / /bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent/
>>>> / -I../agent/mibgroup -I../snmplib   -g -O2 -Ulinux -Dlinux=linux 
>>>> -c -o/
>>>> / mib_modules.lo mib_modules.c/
>>>> / /bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent/
>>>> / -I../agent/mibgroup -I../snmplib   -g -O2 -Ulinux -Dlinux=linux 
>>>> -c -o/
>>>> / auto_nlist.lo auto_nlist.c/
>>>> / make[1]: *** No rule to make target `helpers/libnetsnmphelpers.la',/
>>>> / needed by `libnetsnmpmibs.la'.  Stop./
>>>> / make[1]: *** Waiting for unfinished jobs..../
>>>> / /
>>>> / /
>>>> / /bin/sh ../../libtool  --mode=link gcc -g -O2 -Ulinux -Dlinux=linux /
>>>> / -rpath /usr/lib -version-info 16:0:1 -o libnetsnmphelpers.la/
>>>> / all_helpers.lo baby_steps.lo bulk_to_next.lo cache_handler.lo/
>>>> / debug_handler.lo instance.lo mode_end_call.lo multiplexer.lo null.lo/
>>>> / old_api.lo read_only.lo row_merge.lo scalar.lo scalar_group.lo/
>>>> / serialize.lo stash_cache.lo stash_to_next.lo table.lo table_array.lo/
>>>> / table_container.lo table_data.lo table_dataset.lo table_iterator.lo/
>>>> / table_row.lo table_tdata.lo watcher.lo ../libnetsnmpagent.la/
>>>> / ../../snmplib/libnetsnmp.la /
>>>> / libtool: link: cannot find the library `../libnetsnmpagent.la' or/
>>>> / unhandled argument `../libnetsnmpagent.la'/
>>>> / make[2]: *** [libnetsnmphelpers.la] Error 1/
>>>> / make[2]: Leaving directory/
>>>> / `/home/miguel/ltib/rpm/BUILD/net-snmp-5.4.1/agent/helpers'/
>>>> / make[1]: *** [subdirs] Error 1/
>>>> / make[1]: Leaving directory/
>>>> / `/home/miguel/ltib/rpm/BUILD/net-snmp-5.4.1/agent'/
>>>> / make: *** [subdirs] Error 1/
>>>> / error: Bad exit status from /home/miguel/ltib/tmp/rpm-tmp.86725
>>>> (%build)/
>>>> / /
>>>> / I searched on google but I didn't find anything the helped.../
>>>> / /
>>>> / Did anybody had this problem yet?/
>>>> / /
>>>> / Thanks/
>>>> / Miguel/
>>>> / /
>>>> / /
>>>> / /
>>>> / -- /
>>>> /  /
>>>> / /
>>>> / /
>>>> / Directa Automação/
>>>> /       *Miguel Aveiro*/
>>>> / *Estagiário Produção*/
>>>> / *Fone:* 48 3298-8800/
>>>> / *Fax:* 48 3298-8808/
>>>> / address@hidden<mailto:address@hidden>/
>>>> / www.directaautomacao.com.br/
>>>> / /
>>>> / /
>>>> /
>>>> ------------------------------------------------------------------------/
>>>>
>>>> / /
>>>> / _______________________________________________/
>>>> / LTIB home page: http://ltib.org/
>>>> / /
>>>> / Ltib mailing list/
>>>> / address@hidden/
>>>> / http://lists.nongnu.org/mailman/listinfo/ltib/
>>>>        
>>>
>>> -- 
>>> Jorge A. Castro
>>> Canam-Technology, Inc.
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> LTIB home page: http://ltib.org
>>>
>>> Ltib mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/ltib
>>>      
>>    
> 
> 



reply via email to

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