[dev] Re: [9base] Failure to link against uClibc: undefined references

From: Anthony Martin <ality_AT_pbrane.org>
Date: Sun, 26 Feb 2012 17:30:53 -0800

The link order in yacc.mk is wrong.
Try building with this patch.

Cheers,
  Anthony

diff -r 12764b326f2b yacc.mk
--- a/yacc.mk Sun Feb 12 23:13:17 2012 +0100
+++ b/yacc.mk Sun Feb 26 17:26:11 2012 -0800
_AT_@ -35,4 +35,4 @@
 
 ${TARG}: ${OFILES}
         _AT_echo LD ${TARG}
- _AT_${CC} ${LDFLAGS} -o ${TARG} ${OFILES} -lm -L../lib9 -l9
+ _AT_${CC} ${LDFLAGS} -o ${TARG} ${OFILES} -L../lib9 -l9 -lm
Received on Mon Feb 27 2012 - 02:30:53 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 27 2012 - 02:36:04 CET