컴파일 관련해서 질문 올립니다.
컴파일 하는 과정에서
image_del object program linking ...
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Target "all" is up to date.
이런 문구가 나오지만 컴파일은 완료 되어 실행을 하면
Could not load program image_del:
The program does not have an entry point or
the o_snentry field in the auxiliary header is invalid.
Examine file headers with the 'dump -ohv' command.
이런 문구가 나오네요. 해결 방법은 어떤것이 있을까요?
서버 기종은 IBM 입니다.
컴파일은 v옵션으로 확인하면
Target: powerpc-ibm-aix6.1.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 --disable-libjava-multilib
Thread model: aix
gcc version 4.2.0
/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/collect2 -bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect -bM:SRE -bnoentry -b64 -o /TCS/src/bin/image_del -L/TCS/src/retry/lib -L/TCS/src/lib -L/TCS/oracle/product/11.2.0/lib -L/TCS/oracle/product/11.2.0/plsql/lib -L/TCS/oracle/product/11.2.0/network/lib -L/TCS/lib -L/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.4.5 -L/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/ppc64 -L/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0 -L/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/../../.. image_del.o -lclntsh -lgcc_s -lc -lgcc_s
이런 식으로 진행이 된 것으로 보입니다.
댓글 달기