1 |
On Thu, 17 Oct 2002 19:36:52 +0200 |
2 |
Tony Clark <tclark@×××××.com> wrote: |
3 |
|
4 |
create a file and name it libc++mem.c |
5 |
then use your favourite editor add these lines into the file: |
6 |
|
7 |
void *__builtin_new(int size) {return (void*)malloc(size);} |
8 |
void *__builtin_vec_new(int size) {return __builtin_new(size);} |
9 |
void *__builtin_delete(void *ptr) {free(ptr);} |
10 |
void *__builtin_vec_delete(void *ptr) {__builtin_delete(ptr);} |
11 |
|
12 |
save and compile with |
13 |
|
14 |
gcc -shared -fPIC -o libc++mem.so libc++mem.c |
15 |
|
16 |
copy the libc++mem.so to /usr/lib/mozilla and restart mozilla |
17 |
|
18 |
|
19 |
> On Thursday 17 October 2002 19.04, Matthew Kennedy wrote: |
20 |
> > Tony Clark <tclark@×××××.com> writes: |
21 |
> > > > Certainly not. I'm talking of a fresh gentoo 1.4_rc1 install. No gcc <3 |
22 |
> > > > library there. |
23 |
> > > |
24 |
> > > That makes me feel a little better knowing I am not alone. GCC2 has been |
25 |
> > > no where near this drive. I fdisked it and mke2fs on the weekend prior |
26 |
> > > to installing 1.4-rc1. What I get is |
27 |
> > > tony@power flash-0.4.10 $ /usr/lib/mozilla/mozilla-bin |
28 |
> > > LoadPlugin: failed to initialize shared library |
29 |
> > > /opt/netscape/plugins/npflash.so [/opt/netscape/plugins/npflash.so: |
30 |
> > > undefined symbol: __dso_handle] |
31 |
> > |
32 |
> > Okay, so what we have here is one fresh 1.4_rc1 install with |
33 |
> > netscape-flash and mozilla working "solid" and another fresh 1.4_rc1 |
34 |
> > install with netscape-flash and mozilla broken? |
35 |
> |
36 |
> I'm a little confused I must admit. I had flash working with moz1.0.0 I |
37 |
> upgraded to moz1.0.1 and flash broke. I am not sure if was gplflash or |
38 |
> macromedia working with moz1.0.0. Neither works with moz1.0.1. Macromedia |
39 |
> causes moz to crash and burn where as gplflash crashes. I'm not sure if this |
40 |
> means anything but macromedia does work with konqueror. |
41 |
> |
42 |
> tony |
43 |
> |
44 |
> _______________________________________________ |
45 |
> gentoo-dev mailing list |
46 |
> gentoo-dev@g.o |
47 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |