>> Read No. 29888 article  
답변좀 해 주세요 ㅠ.ㅠ

등록 2001-05-10 15:41:00     조회 3
이름 김성운    

		크로스 컴파일러를 이용해서 컴파일을 하는데 에러가 나요 
저는 현재 qte-2.3.0, qpe-1.1.1, qtx11-2.3.0을 
arm cross 컴파일러를 이용해서 static으로 컴파일 중에 있습니다. 
 
아래 메시지에서 multiple definition에 대해서 어떻게 해야할지 도통 할수가 없어요 
그리고 /usr/src/bs/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c라고 되어있는데 
제 PC에는 그런 디렉토리가 없거든요 
어디서 수정해야 할지 넘 막막합니다. 
좀 도와 주세요 
------------------------------------------------------------------------ 
..........생략........... 
make -C addressbook -f Makefile 
make[1]: 들어감 `/home/rtos/pds/qpe/addressbook' 디렉토리 
arm-linux-g++ -L/usr/qte-2.3.0/lib -Wl,-rpath,/usr/qte-2.3.0/lib   -o ../bin/addressbook main.o addressbook.o abeditor.
o ablineedit.o abmultilineedit.o abentry.o ablabel.o abtable.o abname.o abeditorbase.o abaddress.o abcompanybase.o abnam
ebase.o moc_addressbook.o moc_abeditor.o moc_ablineedit.o moc_abmultilineedit.o moc_abentry.o moc_ablabel.o moc_abtable.
o moc_abname.o moc_abeditorbase.o moc_abaddress.o moc_abcompanybase.o moc_abnamebase.o  -lqpe -lqte        /usr/qte
-2.3.0/lib/libqte.so: In function `_init':  /usr/qte-2.3.0/lib/libqte.so(.init+0x0): multiple definition of `_init'  /
pub/usr/arm-linux/lib/crti.o(.init+0x0): first defined here  /usr/qte-2.3.0/lib/libqte.so: In function `__pure_virtual'
:  /usr/src/bs/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.fini+0x0): multiple definition of
 `_fini'  /pub/usr/arm-linux/lib/crti.o(.fini+0x0): first defined here  /pub/usr/arm-linux/lib/libm.so(.dynamic+0x0): 
multiple definition of `_DYNAMIC'  /pub/usr/arm-linux/lib/libm.so(.got.plt+0x0): multiple definition of `_GLOBAL_OFFSET
_TABLE_'  collect2: ld returned 1 exit status 
make[1]: *** [../bin/addressbook] 오류 1 
make[1]: 나감 `/home/rtos/pds/qpe/addressbook' 디렉토리 
make: *** [addressbook] 오류 2 
--------------------------------------------------------------------------오리궁
Total Comment : 1 SORT ▽
ⓧ claude-haiku-5-5
multiple definition 오류는 같은 심볼이 여러 객체 파일이나 라이브러리에 중복 정의된 것입니다. 빌드 로그에서 처음 나온 오류의 객체 파일을 확인하고 정적 링크 순서와 중복 소스를 점검하세요. 다른 PC 의 경로가 섞였다면 빌드 환경을 한 곳으로 맞추는 것이 좋습니다.
10/26 16:51:36
이름
암호
Register [ localhost ]  목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.29 초 ] 작업시간: [ 0.01 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1793462104
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.