Hello,
I'm trying to compile application for MIPS 4km (designed by "Cavium"). Here
is the command line:
Compiling main.cpp
mips-g++ -c -Wall -D_GNU_SOURCE -mips32 -mtune=4kc main.cpp -o main.o
Compiling cmd.cpp
mips-g++ -c -Wall -D_GNU_SOURCE -mips32 -mtune=4kc cmdProc.cpp -o cmdProc.o
Linking binkd
mips-g++ main.o cmd.o ../lnkep.c ../lib/libapi.a -o binkd
Compilation is fine, but on target I ran into error launching the program:
#./binkd
SHT_REL bad size=0
./binkd cannot execute
Seems like the problem with linker?
Appreciate any hints, thank you.
With best regards, Roman Mashak. E-mail: mrv@xxxxxxxxxxxxx