[Coco] linux and lwtools

Gene Heskett gheskett at wdtv.com
Sat Jul 13 11:45:37 EDT 2013


On Saturday 13 July 2013 11:32:16 Bob Devries did opine:

> Hi all, and especially Tormod and Gene,
> 
> I thought I'd start a new threat for my Raspberry Pi/Linux
> experiences...
> 
> I migrated to my Raspberry Pi, and am trying to compile the lwtools
> package. I get an error at the end:
> 
> /usr/bin/ld: cannot find -llw
> 
I do see that in the Makefile Bob, but here it is not an error.

If the list will forgive me, here is the getnitros9's backtrace for 
lwtrools:

gene at coyote:/opt$ sudo -i
[sudo] password for gene: 
root at coyote:~# cd /opt
root at coyote:/opt# ./getnitros9
requesting all changes
adding changesets
adding manifests
adding file changes
added 279 changesets with 725 changes to 187 files
updating to branch default
112 files updated, 0 files merged, 0 files removed, 0 files unresolved
Building dependencies for lwasm/debug.o
Building lwasm/debug.o
Building dependencies for lwasm/input.o
Building lwasm/input.o
Building dependencies for lwasm/insn_bitbit.o
Building lwasm/insn_bitbit.o
Building dependencies for lwasm/insn_gen.o
Building lwasm/insn_gen.o
Building dependencies for lwasm/insn_indexed.o
Building lwasm/insn_indexed.o
Building dependencies for lwasm/insn_inh.o
Building lwasm/insn_inh.o
Building dependencies for lwasm/insn_logicmem.o
Building lwasm/insn_logicmem.o
Building dependencies for lwasm/insn_rel.o
Building lwasm/insn_rel.o
Building dependencies for lwasm/insn_rlist.o
Building lwasm/insn_rlist.o
Building dependencies for lwasm/insn_rtor.o
Building lwasm/insn_rtor.o
Building dependencies for lwasm/insn_tfm.o
Building lwasm/insn_tfm.o
Building dependencies for lwasm/instab.o
Building lwasm/instab.o
Building dependencies for lwasm/list.o
Building lwasm/list.o
Building dependencies for lwasm/lwasm.o
Building lwasm/lwasm.o
lwasm/lwasm.c: In function ‘lwasm_parse_term’:
lwasm/lwasm.c:580: warning: ‘val’ may be used uninitialized in this 
function
Building dependencies for lwasm/macro.o
Building lwasm/macro.o
Building dependencies for lwasm/main.o
Building lwasm/main.o
Building dependencies for lwasm/os9.o
Building lwasm/os9.o
Building dependencies for lwasm/output.o
Building lwasm/output.o
lwasm/output.c: In function ‘write_code_decb’:
lwasm/output.c:166: warning: ‘preambloc’ may be used uninitialized in this 
function
Building dependencies for lwasm/pass1.o
Building lwasm/pass1.o
Building dependencies for lwasm/pass2.o
Building lwasm/pass2.o
Building dependencies for lwasm/pass3.o
Building lwasm/pass3.o
Building dependencies for lwasm/pass4.o
Building lwasm/pass4.o
Building dependencies for lwasm/pass5.o
Building lwasm/pass5.o
Building dependencies for lwasm/pass6.o
Building lwasm/pass6.o
Building dependencies for lwasm/pass7.o
Building lwasm/pass7.o
Building dependencies for lwasm/pragma.o
Building lwasm/pragma.o
Building dependencies for lwasm/pseudo.o
Building lwasm/pseudo.o
Building dependencies for lwasm/section.o
Building lwasm/section.o
Building dependencies for lwasm/struct.o
Building lwasm/struct.o
Building dependencies for lwasm/symbol.o
Building lwasm/symbol.o
Building dependencies for lwasm/unicorns.o
Building lwasm/unicorns.o
Building dependencies for lwlib/lw_alloc.o
Building lwlib/lw_alloc.o
Building dependencies for lwlib/lw_realloc.o
Building lwlib/lw_realloc.o
Building dependencies for lwlib/lw_free.o
Building lwlib/lw_free.o
Building dependencies for lwlib/lw_error.o
Building lwlib/lw_error.o
Building dependencies for lwlib/lw_expr.o
Building lwlib/lw_expr.o
Building dependencies for lwlib/lw_stack.o
Building lwlib/lw_stack.o
Building dependencies for lwlib/lw_string.o
Building lwlib/lw_string.o
Building dependencies for lwlib/lw_stringlist.o
Building lwlib/lw_stringlist.o
Building dependencies for lwlib/lw_cmdline.o
Building lwlib/lw_cmdline.o
Linking lwlib/liblw.a
Linking lwasm/lwasm
Building dependencies for lwlink/main.o
Building lwlink/main.o
Building dependencies for lwlink/lwlink.o
Building lwlink/lwlink.o
Building dependencies for lwlink/readfiles.o
Building lwlink/readfiles.o
Building dependencies for lwlink/expr.o
Building lwlink/expr.o
Building dependencies for lwlink/script.o
Building lwlink/script.o
Building dependencies for lwlink/link.o
Building lwlink/link.o
lwlink/link.c: In function ‘generate_symbols’:
lwlink/link.c:262: warning: ‘len’ may be used uninitialized in this 
function
Building dependencies for lwlink/output.o
Building lwlink/output.o
Building dependencies for lwlink/map.o
Building lwlink/map.o
Linking lwlink/lwlink
Building dependencies for lwar/add.o
Building lwar/add.o
Building dependencies for lwar/extract.o
Building lwar/extract.o
Building dependencies for lwar/list.o
Building lwar/list.o
Building dependencies for lwar/lwar.o
Building lwar/lwar.o
Building dependencies for lwar/main.o
Building lwar/main.o
Building dependencies for lwar/remove.o
Building lwar/remove.o
Building dependencies for lwar/replace.o
Building lwar/replace.o
Linking lwar/lwar
Building dependencies for lwlink/objdump.o
Building lwlink/objdump.o
Linking lwlink/lwobjdump
install -d /usr/local/bin
install lwasm/lwasm lwlink/lwlink lwar/lwar lwlink/lwobjdump /usr/local/bin


lwtools has been built, next is toolshed

But then toolshed is more verbose, and the nitros9 build is a multi-
megabyte blabbermouth.

No clue what its doing on your R-pi, and I don't have one although I am 
considering buying a beaglebone black as it has enough resources to run 
heavy iron.

I just haven't found that pattern so I can make some more round tuits. :)  
The atom powered boards are working very well indeed, so in my dotage I've 
no urge to fix whats not broken.  Yeah, I know, call me lazy.

> Sigh.....
> 
> Regards, Bob Devries
> Dalby, QLD, Australia
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
My views 
<http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml>
Better late than never.
		-- Titus Livius (Livy)
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.



More information about the Coco mailing list