1 |
On Wednesday, 6 December 2017 10:33:54 GMT Raffaele Belardi wrote: |
2 |
> Peter Humphrey wrote: |
3 |
> > On Tuesday, 5 December 2017 16:49:28 GMT Raffaele Belardi wrote: |
4 |
> >> Looks like your -fpic modification did not make it through. |
5 |
> > |
6 |
> > Do I have my syntax wrong, then? |
7 |
> > |
8 |
> > # cat /etc/portage/package.env |
9 |
> > www-client/palemoon nopic |
10 |
> > peak ~ # cat /etc/portage/env/nopic |
11 |
> > CFLAGS="${CFLAGS} -fPIC" |
12 |
> > |
13 |
> > I've tried -fPIC and -fpic, but I still get the error: |
14 |
> > undefined reference to 'GetDemuxerLog()' |
15 |
> > |
16 |
> > I used this as guide: |
17 |
> > https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_vari |
18 |
> > ables_per_package |
19 |
> Two suggestions, neither of which I believe will solve your problem: |
20 |
> - did you rebuild completely palemoon after changing the -fpic into -fPIC? |
21 |
> If you issued 'emerge' as usual and not 'make' directly in the palemoon |
22 |
> build dir then the answer is yes. |
23 |
|
24 |
It is, yes. |
25 |
|
26 |
> - could it be that CXXFLAGS is not affected by the CFLAGS change in the |
27 |
> package.env? Try specifying both in the nopic file |
28 |
|
29 |
Indeed I had missed CXXFLAGS (duh), but after adding CXXFLAGS="${CFLAGS}" to |
30 |
env/nopic the result was the same. |
31 |
|
32 |
> Sorry, I'm out of ideas. |
33 |
|
34 |
Don't worry - I can always revert to palemoon-bin. Thanks anyway, Raffaele. |
35 |
|
36 |
-- |
37 |
Regards, |
38 |
Peter. |