1 |
I just installed 1.4 in a tibook. It rocks! However I have a couple of |
2 |
problems building a piece of c++ code I use for work. I have compiled the |
3 |
code with gcc3 and gcc-2.95.3 without problems. However with 3.2 after |
4 |
displaying the "this file includes antiquated header..." warning it gives: |
5 |
|
6 |
foo.h: cannot declare parametere 'foo' to be of type 'footype::foofoo' |
7 |
because the followind virtual functions are abstract: |
8 |
|
9 |
However the code is legit. |
10 |
|
11 |
|
12 |
So I decided to install gcc-2.93 and use that to build my library. The first |
13 |
build break due to relocation errors, so I compiled with -fPIC instead of |
14 |
-fpic. This time it built fine. However now, when I compile and run a |
15 |
programm linked into the dynamic library I get: |
16 |
|
17 |
undefined reference to 'foo' |
18 |
relocation truncated to fit: R_PPC_REL24 |
19 |
|
20 |
What gives? I thought the idea of compiling with -fPIC would be to get rid of |
21 |
the PPC_REL24 references. |
22 |
|
23 |
Any ideas are *very* welcome |
24 |
|
25 |
Please CC any message to me. |
26 |
|
27 |
thanks, Fernando Rodriguez |