Displaying 1 result from an estimated 1 matches for "00000ecc".
Did you mean:
000007cc
2002 Jan 02
1
multiple definitions in C code
...le -o rings.so -Xlinker -m
elrond.o galadriel.o
/usr/bin/ld: warning multiple definitions of symbol _bilbo
elrond.o definition of _bilbo in section (__DATA,__common)
galadriel.o definition of _bilbo in section (__DATA,__common)
[localhost:~/Desktop/rings] deleeuw% nm -pg rings.so
00001018 S _bilbo
00000ecc T _elrond
00000f44 T _galadriel
U _printf
while
[localhost:~/Desktop/rings] deleeuw% gcc -c elrond.c
[localhost:~/Desktop/rings] deleeuw% gcc -c galadriel.c
[localhost:~/Desktop/rings] deleeuw% gcc -bundle -o rings.so elrond.o
galadriel.o
[localhost:~/Desktop/rings] deleeuw% nm -pg e...