> Josh: For some time, I've been config'ing parrot this way on OS X:
>
> %cat ~/bin/ccc
> CCACHE="ccache "
> CC="${CCACHE}gcc-4.0"
> CX="${CCACHE}g++-4.0"
> perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" --ld="$CX" $@
>
> Give this a whirl. (setting CCACHE to "" if you don't have it.) This
> should avoid the ld issue James pointed out.

I don't have ccache, so I opted for the CCACHE="".  Similar results though :(

make -C src/dynpmc
make -C src/dynoplibs
g++-4.0 -o myops_ops.bundle myops_ops.o  -L/opt/local/lib
-L/usr/local/lib -L/Users/joshua/Development/parrot/blib/lib
-flat_namespace  -L/opt/local/lib
-L/Users/joshua/Development/parrot/blib/lib -bundle -undefined
suppress -L/Users/joshua/Development/parrot/blib/lib -lparrot
/usr/bin/ld: multiple definitions of symbol _Parrot_conv_i2_i
myops_ops.o definition of _Parrot_conv_i2_i in section (__TEXT,__text)
/usr/local/lib/libparrot.dylib(core_ops.o) definition of _Parrot_conv_i2_i
/usr/bin/ld: multiple definitions of symbol _Parrot_conv_u2_i
myops_ops.o definition of _Parrot_conv_u2_i in section (__TEXT,__text)
/usr/local/lib/libparrot.dylib(core_ops.o) definition of _Parrot_conv_u2_i
collect2: ld returned 1 exit status
Copy myops_ops.bundle failed (0)
make[1]: *** [all] Error 2
make: *** [dynoplibs.dummy] Error 2

Reply via email to