| 1 |
------------------------------------------------------------------------------- |
| 2 |
libnoise undefinde references / buggy libtool support |
| 3 |
------------------------------------------------------------------------------- |
| 4 |
|
| 5 |
It seems that at least on Ubuntu, the libtool file "/usr/lib/libnoise.la" is |
| 6 |
buggy and incomplete. If you get undefined references involving libnoise, a |
| 7 |
quick and dirty solution is to remove/rename /usr/lib/libnoise.la and possibly |
| 8 |
/usr/lib/libnoise.a and then retry to build. |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
------------------------------------------------------------------------------- |
| 13 |
/bin/sh pointing to /bin/dash on Ubuntu (and possibly others) |
| 14 |
------------------------------------------------------------------------------- |
| 15 |
|
| 16 |
Upon building you get messages like |
| 17 |
|
| 18 |
eval: 1: libtool_args+=: not found |
| 19 |
eval: 1: compile_command+=: not found |
| 20 |
eval: 1: finalize_command+=: not found |
| 21 |
eval: 1: libtool_args+=: not found |
| 22 |
eval: 1: compile_command+=: not found |
| 23 |
eval: 1: finalize_command+=: not found |
| 24 |
eval: 1: libtool_args+=: not found |
| 25 |
eval: 1: compile_command+=: not found |
| 26 |
eval: 1: finalize_command+=: not found |
| 27 |
eval: 1: libtool_args+=: not found |
| 28 |
|
| 29 |
or |
| 30 |
|
| 31 |
libtool: link: gcc XXX |
| 32 |
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crt1.o: In function |
| 33 |
`_start': |
| 34 |
(.text+0x18): undefined reference to `main' |
| 35 |
collect2: ld returned 1 exit status |
| 36 |
make[3]: *** [faked] Error 1 |
| 37 |
|
| 38 |
. Then /bin/sh might be point to /bin/dash. With automake, this can cause |
| 39 |
some trouble. The quick and dirty fix is to re-link /bin/sh to /bin/bash, |
| 40 |
the quick and clean fix is to |
| 41 |
|
| 42 |
./config.status --recheck && make clean |
| 43 |
|
| 44 |
and then proceed with making. |