.../Makefile.fwinst:34 ***혼합된 묵시적 규칙과 일반적 규칙. 멈춤.

ivyapink의 이미지

ARM9 계열의 임베디드 제품을 개발,진행중인 리눅스 초보자입니다.
개발용 SDK가 제공되는 관계로..쉽게 접근할 수 있을 거라 생각했는데...
진행하다보니 여기 저기서 막히네요..

툴체인, 소스 모두 설치한 후 ./build 진행하면 이상 없이 컴파일 완료되네요.
그런데, 드라이버를 생성하려고 보니 make modules 라는 명령을 쓰게 되어 있는데요..
문제는 컴파일 에러가 발생합니다.

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

............
Building modulse, stage 2.
MODPOST 16 modules
/usr/src/arm-linux-2.6.28/linux-2.6.28-fa/scripts/Makefile.fwinst:34: ***혼합된 묵시적 규칙과 일반적 규칙. 멈춤.
make: ***[modules] 오류2

SDK 상태로 제공된 소스라서,,, 원래부터 파일이 잘못 되었다기 보다는 make 버전이나 환경 변수 등의 문제로 보여지는데요...
Makefile.fwinst 파일을 열어봐도 웬 소련말~~~~. 잘 모르겠네요..

OS는 Fedora 19, make 버전은 3.82 입니다.

Makefile.fwinst 파일을 첨부합니다.

제게 도움을 주실 분.... 계신가요????

ivyapink의 이미지

찾아가 봤는데요...지식이 모자라...도통 이해할 수가 없네요...ㅠㅠ

ivyapink의 이미지

관련 Makefile.fwinst 파일 부분은 아래와 같습니다.

27 installed-mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(mod-fw))
28
29 installed-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-all))
30 installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/.
31
32 # Workaround for make < 3.81, where .SECONDEXPANSION doesn't work.
33 PHONY += $(INSTALL_FW_PATH)/$$(%) install-all-dirs
34 $(INSTALL_FW_PATH)/$$(%): install-all-dirs
35 @true
36 install-all-dirs: $(installed-fw-dirs)
37 @true
38
39 quiet_cmd_install = INSTALL $(subst $(srctree)/,,$@)
40 cmd_install = $(INSTALL) -m0644 $< $@

위 소스 중에서 34라인에서 에러가 발생합니다.

ktd2004 님께서 링크 걸어주신 부분에 보면 명령어를 분리하라는 내용 같은데요...
위 34라인을 어떻게 분리할 수 있을까요???

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.