* Christopher Lemire <christopher.lem...@gmail.com> [120716 08:08]:
[..]
> Making a simple Hello World and attempting to compile:
> 
> bullshark@beastlinux ~ % cat hello.c
> #include <stdio.h>
> 
> main() {
>   printf("Hello Working GCC\n.");
> }
> bullshark@beastlinux ~ % gcc hello.c -o hello
> /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/as:
> symbol lookup error:
> /usr/lib/binutils/i686-pc-linux-gnu/2.21.1/libopcodes-2.21.1.so:
> undefined symbol: buffer_read_memory
> bullshark@beastlinux ~ %

You might need to run gcc-config.

Try gcc-config -l and make sure one of the selections has an * next to
it.

If not, run gcc-config <cc profile>
where <cc profile> is the name you see in the gcc-config -l output (like
i686-pc-linux-gnu-4.5.3, for example)

Todd

Reply via email to