logo
한국어 Select Language
FF 포럼
포럼지기에게 한 마디
공지사항
뉴스 EZ보드 통합 메뉴얼
FA-VUS 개발환경 !강추! 타켓보드 부팅-HyperTerminal 타켓보드 부팅-Tutty 타켓보드 부팅-minicom Windows환경-타겟 Linux 구동 Linux환경-타겟 Linux 구동 개발 시스템 구축 유형 페도라 설치 CentOS 설치 크로스 컴파일러 설치 TFTP 환경 구축 NFS 파일 시스템 구축 삼바 서버 구축 부트로더 부트로더 쓰기 커널 이미지 제작 및 설치 램디스크 이미지 제작 및 설치
임베디드 제품 사용기 오늘의 영어 휴게실 Appliance
강좌 & 팁
강좌 & 팁 EZ-보드 그래픽 & 멀티미디어 네트워크 프로그래밍 디바이스 드라이버 ImJa 솔루션 임베디드 FLEX 안드로이드 iOS 개발 FAIDE 하드웨어 C/C++ go언어 GNU C 레퍼런스 메뉴얼 ARM 루아 응용 프로젝트 이클립스 지그비 개발자 노트 권장도서 FPGA
VIVADO DSP HSIO Logic Zynq
함수설명
C 라이브러리 함수 커널 API 그래픽 라이브러리 - gxLib
자료실
자료실 FALINUX SDK ARM PC-V210 S3C6410
G100-S3C6410 S100-S3C6410 C221-S3C6410 N200-S3C6410 EZ-S3C6410
S5PV210
G100-S5PV210 S100-S5PV210 N200-S5PV210 C221-S5PV210
EZ-S3C2440 EZ-PXA270 EZ-X5 EZ-S2410 Auto Package
도와주세요
FAQ 도와주세요

  • 회원가입
  • ID/PW 찾기
 
  1. FAQ

  2. 도와주세요


최근 글

  • [특판][성Y인Y용Y품][...
  • 요즘 잘 나가는,,,
  • 요즘은 vmware 말고 ...
  • [docker] buildx 를 ...
  • buildroot 사용 관련
  • GPIO 제어 방법 문의 [1]
  • 임베디드 리눅스 개발...
  • make wandboard_quad ...
  • LCD 초기화 코드 좀 ... [1]
  • 임베디드 리눅스 커널...

최근 댓글

  • 오래 전에 해결법을 터득해서 ...
  • 비트 코인으로 작업하는 것은 ...
  • 10년차 임베 엔지니어 입니다. ...
  • 임베디드쪽이라면 SOC 쪽 displ...
  • 그렇군요 제가 질문이 잘못됬었...
  • 취준생으로서 포트폴리오를 만...
  • 제가 현재 취업준비생입니다. ...
  • 에프에이리눅스 보드는 아래 링...
  • 전체
  • 일반
  • X5
  • S2410
  • ESP-NS
  • S3C2440
  • EP9312
  • 구매
  • 기타

일반 컴파일시에 route관련 소스에서 에러가 나는데...

2003.11.07 01:43

질문 조회 수:12152

busybox에서 에러가 나길래 ne-tool를 받아다 설치를 해봤는데
똑같은 에러가 나는걸로 봐서 busybox나 net-tool의 문제는 아닌거 같습니다.

gcc나 glibc의 에러 같은데 제공되는 ramdisk 이미지 안을 들여다 보면
ifconfig, route 등과 같은 프로그램이 있던데
이건 어떻게 컴파일 했는지 좀 알 수 있을까요?


에러 내용은 다음과 같습니다.

armv5l-linux-gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -
D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os -fstrict-
aliasing -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG -c -o
networking/route.o networking/route.c
In file included from /usr/armv5l-linux/sys-include/net/route.h:28,
from networking/route.c:29:
/usr/armv5l-linux/sys-include/net/dst.h:30: parse error before "atomic_t"
/usr/armv5l-linux/sys-include/net/dst.h:67: parse error before '}' token
/usr/armv5l-linux/sys-include/net/dst.h:77: parse error before "__u32"
/usr/armv5l-linux/sys-include/net/dst.h:85: parse error before "atomic_t"
/usr/armv5l-linux/sys-include/net/dst.h:87: parse error before '}' token
In file included from /usr/armv5l-linux/sys-include/linux/sched.h:18,
from /usr/armv5l-linux/sys-include/net/inetpeer.h:14,
from /usr/armv5l-linux/sys-include/net/route.h:29,
from networking/route.c:29:
/usr/armv5l-linux/sys-include/asm/semaphore.h:18: parse error
before "wait_queue_head_t"
/usr/armv5l-linux/sys-include/asm/semaphore.h: In function `sema_init':
/usr/armv5l-linux/sys-include/asm/semaphore.h:47: dereferencing pointer
to incomplete type
/usr/armv5l-linux/sys-include/asm/semaphore.h:48: dereferencing pointer
to incomplete type
/usr/armv5l-linux/sys-include/asm/semaphore.h:49: dereferencing pointer
to incomplete type
In file included from /usr/armv5l-linux/sys-include/linux/signal.h:4,
from /usr/armv5l-linux/sys-include/linux/sched.h:26,
from /usr/armv5l-linux/sys-include/net/inetpeer.h:14,
from /usr/armv5l-linux/sys-include/net/route.h:29,
from networking/route.c:29:
/usr/armv5l-linux/sys-include/asm/signal.h: At top level:
/usr/armv5l-linux/sys-include/asm/signal.h:27: conflicting types for
`sigset_t'
/usr/armv5l-linux/include/sys/select.h:38: previous declaration of
`sigset_t'
In file included from /usr/armv5l-linux/sys-include/linux/sched.h:80,
from /usr/armv5l-linux/sys-include/net/inetpeer.h:14,
from /usr/armv5l-linux/sys-include/net/route.h:29,
from networking/route.c:29:
/usr/armv5l-linux/sys-include/linux/time.h:9: redefinition of `struct
timespec'
/usr/armv5l-linux/sys-include/linux/time.h:88: redefinition of `struct
timeval'
In file included from /usr/armv5l-linux/sys-include/net/route.h:29,
from networking/route.c:29:
/usr/armv5l-linux/sys-include/net/inetpeer.h: In function `inet_putpeer':
/usr/armv5l-linux/sys-include/net/inetpeer.h:49: `jiffies' undeclared
(first use in this function)
/usr/armv5l-linux/sys-include/net/inetpeer.h:49: (Each undeclared
identifier is reported only once
/usr/armv5l-linux/sys-include/net/inetpeer.h:49: for each function it
appears in.)
In file included from networking/route.c:29:
/usr/armv5l-linux/sys-include/net/route.h:37:2: warning: #warning This
file is not supposed to be used outside of kernel.
In file included from networking/route.c:29:
/usr/armv5l-linux/sys-include/net/route.h: At top level:
/usr/armv5l-linux/sys-include/net/route.h:66: field `dst' has incomplete
type
/usr/armv5l-linux/sys-include/net/route.h:123: parse error
before "old_gw"
/usr/armv5l-linux/sys-include/net/route.h:128: parse error before "u32"
/usr/armv5l-linux/sys-include/net/route.h:133: parse error before "addr"
/usr/armv5l-linux/sys-include/net/route.h:136: parse error before '*'
token
/usr/armv5l-linux/sys-include/net/route.h:141: parse error before "u32"
/usr/armv5l-linux/sys-include/net/route.h: In function `ip_route_output':
/usr/armv5l-linux/sys-include/net/route.h:143: `daddr' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:143: `saddr' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:143: `oif' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:143: `tos' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:145: `rp' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h: At top level:
/usr/armv5l-linux/sys-include/net/route.h:159: parse error before "tos"
/usr/armv5l-linux/sys-include/net/route.h: In function `rt_tos2priority':
/usr/armv5l-linux/sys-include/net/route.h:161: `tos' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h: At top level:
/usr/armv5l-linux/sys-include/net/route.h:164: parse error before "u32"
/usr/armv5l-linux/sys-include/net/route.h: In function
`ip_route_connect':
/usr/armv5l-linux/sys-include/net/route.h:167: `rp' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:167: `dst' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:167: `src' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:167: `tos' undeclared (first
use in this function)
/usr/armv5l-linux/sys-include/net/route.h:167: `oif' undeclared (first
use in this function)
In file included from networking/route.c:30:
/usr/armv5l-linux/include/net/if.h: At top level:
/usr/armv5l-linux/include/net/if.h:45: parse error before numeric
constant
/usr/armv5l-linux/include/net/if.h:111: redefinition of `struct ifmap'
/usr/armv5l-linux/include/net/if.h:126: redefinition of `struct ifreq'
/usr/armv5l-linux/include/net/if.h:176: redefinition of `struct ifconf'
In file included from networking/route.c:34:
/usr/armv5l-linux/include/stdlib.h:511: unnamed fields of type other
than struct or union are not allowed
In file included from /usr/armv5l-linux/include/netdb.h:38,
from include/libbb.h:33,
from include/busybox.h:49,
from networking/route.c:39:
/usr/armv5l-linux/include/bits/siginfo.h:34: redefinition of `union
sigval'
/usr/armv5l-linux/include/bits/siginfo.h:274: redefinition of `struct
sigevent'
/usr/armv5l-linux/include/bits/siginfo.h:298: parse error before numeric
constant
In file included from include/busybox.h:49,
from networking/route.c:39:
include/libbb.h:108: warning: declaration of `flags' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
include/libbb.h:109: warning: declaration of `flags' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
include/libbb.h:130: warning: declaration of `flags' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
include/libbb.h:239: warning: declaration of `flags' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
include/libbb.h:247: redefinition of `struct sysinfo'
include/libbb.h:263: warning: declaration of `info' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:66: warning: shadowed
declaration is here
include/libbb.h:300: warning: declaration of `flags' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
include/libbb.h:428: warning: declaration of `flags' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
networking/route.c: In function `displayroutes':
networking/route.c:491: warning: declaration of `flags' shadows a global
declaration
/usr/armv5l-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
make: *** [networking/route.o] 오류 1
이 게시물을
  • Twitter
  • Facebook
  • Delicious
수정 삭제 목록

댓글 0

목록
번호 제목 글쓴이 날짜 조회 수
공지 포럼의 메뉴가 보이지 않아요! 장길석 2014.02.06 957660
공지 [중요 공지]제품 사용 및 기술 문의는 전화 상담을 받지 않습니다. 장길석 2012.11.09 1408550
공지 답글에 대한 공지 사항. falinux 2006.11.20 2424043
10801 [특판][성Y인Y용Y품][비아][시알][여성흥분제] 전부 1+1 vv8282.top 지금 확인해보세요~! dde33 2026.10.15 2
10800 요즘 잘 나가는,,, dde33 2026.09.12 845
10799 buildroot 사용 관련 로즈마리 2021.02.01 38166
10798 GPIO 제어 방법 문의 [1] 단순최고 2021.01.25 51084
10797 임베디드 리눅스 개발 보드 추천 nam 2019.12.06 48864
10796 make wandboard_quad 실행시 문제 gasi 2019.08.27 47085
10795 LCD 초기화 코드 좀 봐주세요 [1] 김용수 2019.07.12 63137
10794 임베디드 리눅스 커널 소스에 관해 질문드립니다 ! ekthatkxkd 2019.06.28 43728
10793 numpy,scipy 를 arm-linux-XXXX 로 크로스컴파일 하여 올릴수 있나요? 초보자 2019.06.24 49288
10792 I2C - deal with arbitration loss 오류가 궁금합니다. [1] S1eepingBeauty 2018.12.10 56771
10791 구형 EM-PXA270 보드 혹시 보유하시분 연락 주시면 감사드릴께요. file 존 2018.11.24 42753
10790 리눅스 GPIO 관련 센서의 단선 또는 고장유무 판별법이 궁금합니다. [2] S1eepingBeauty 2018.11.12 55126
10789 임베디드 리눅스에서 c 언어 디버깅 궁금합니다. [1] 존 2018.09.14 47072
10788 부팅 시간 문의 [1] nam 2018.06.29 45794
10787 fork()의 thread 멈추는 현상 [4] HwangRoy 2018.05.09 58616
10786 실행중 symbol not found 를 발생시키는 u-boot 본적 있으신가요 ? sayyouandme 2017.12.17 57349
10785 NOR Flash 질문! [1] Chanmini 2017.12.11 67069
10784 소스 해석 도와주세요 ... 남바완 2017.10.31 55610
10783 리눅스 드라이버 IRS에 관한 질문드립니다 [1] 김현수 2017.05.07 32389
10782 N200-S5PV210에 리눅스 커널 4.4.52 부팅이 안되네요.. 도와주세요.. [1] 성정기 2017.03.14 29209
첫 페이지 1 2 3 4 5 6 7 8 9 10 끝 페이지
쓰기
태그
부탁드립니다. ^^
  • 글을 작성하시려면 회원으로 가입하시고 로그인 하셔야 합니다.
  • 회원 가입은 주민등록번호가 필요 없으며, 메일 주소만 있으면 간단하게 가입하실 수 있습니다.
  • 본 포럼에 등록된 모든 글의 저작권은 작성하신 분께 있으며, 저작자의 허락 없이 다른 곳에 펌이나 도용하시면 안 됩니다.
  • 또한, 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단으로 이메일 주소 및 자료 수집되는 것을 거부하며,
  • 이를 위반 시 정보통신망 법에 의해 형사 처벌됨을 유념하시기 바랍니다.
  • FF 포럼
  • 강좌 & 팁
  • 함수설명
  • 자료실
  • 도와주세요