On Mon, November 2, 2015 22:01, Eliot Gable wrote: > That produces this output: ... > --dynamic-linker=/home/test/lib/ld-linux-x86-64.so.2 -lgcc --as-needed > -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed > /home/test/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.2.0/crtend.o > /home/test/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib64/crtn.o > /home/test/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib64/crt1.o: > In function `_start': > (.text+0x20): undefined reference to `main' > collect2: error: ld returned 1 exit status > > > I'm not sure how that helps me. The make_hash.c file has a main() function > present. It seems strange that it would think it is undefined. >
Is --no-as-needed causing you issues as you can view in some of these examples at the following url? https://www.pld-linux.org/developingpld/advanceddeveloping/fixingasneeded Sincerely, William Harrington -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. 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? http://en.wikipedia.org/wiki/Posting_style
