音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

登錄 免費(fèi)注冊(cè) 首頁(yè) | 行業(yè)黑名單 | 幫助
維庫(kù)電子市場(chǎng)網(wǎng)
技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測(cè)控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng)
驅(qū)動(dòng)編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機(jī) | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計(jì) | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe

各位老大,救命啊~

作者:ten1982 欄目:DSP技術(shù)
各位老大,救命啊~
在blackfin的uclinux的主頁(yè)上下了兩個(gè)包uClinux-dist-2007R1-RC3.tar.bz2,和blackfin-toolchain-07r1-9.i386.rpm。

在未做任何改動(dòng)的條件下,編譯uClinux的lib的時(shí)候出現(xiàn)如下錯(cuò)誤。請(qǐng)大家給點(diǎn)意見(jiàn),怎么解決啊。我已經(jīng)卡了好多天了。網(wǎng)上也找了,也沒(méi)有找到解決的辦法。在這里多謝各位了。

make[1]: Leaving directory `/usr/blackfin-linux/build/uClinux-dist/linux-2.6.x'
for dir in  lib user ; do [ ! -d $dir ] || make ARCH=blackfin -C $dir || exit 1 ; done
make[1]: Entering directory `/usr/blackfin-linux/build/uClinux-dist/lib'
for i in  libm libg zlib libbfdsp  ; do make -C $i || exit $? ; done
make[2]: Entering directory `/usr/blackfin-linux/build/uClinux-dist/lib/libm'
bfin-uclinux-gcc -I../libc/include -O2 -pipe -fno-builtin -Wall   -DEMBED -D__uClinux__ -isystem /usr/blackfin-linux/build/uClinux-dist/staging/usr/include -g -DFLOATS=1 -DL_printf ../libc/stdio2/printf.c -c -o printf.o
在包含自 ../libc/stdio2/printf.c:27 的文件中:
../libc/include/stdarg.h:3:28: 錯(cuò)誤:machine/stdarg.h:沒(méi)有那個(gè)文件或目錄
In file included from ../libc/stdio2/printf.c:34:
../libc/include/stdio.h:125: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/include/stdio.h:126: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/include/stdio.h:127: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/include/stdio.h:129: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/include/stdio.h:130: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/include/stdio.h:131: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/include/stdio.h:132: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/stdio2/printf.c:36: 錯(cuò)誤:expected declaration specifiers or ‘...’ before ‘va_list’
../libc/stdio2/printf.c: 在函數(shù) ‘printf’ 中:
../libc/stdio2/printf.c:48: 錯(cuò)誤:‘va_list’ 未聲明 (在此函數(shù)內(nèi)第一次使用)
../libc/stdio2/printf.c:48: 錯(cuò)誤:(即使在一個(gè)函數(shù)內(nèi)多次出現(xiàn),每個(gè)未聲明的標(biāo)識(shí)符 在其
../libc/stdio2/printf.c:48: 錯(cuò)誤:所在的函數(shù)內(nèi)只報(bào)告一次。)
../libc/stdio2/printf.c:48: 錯(cuò)誤:expected ‘;’ before ‘ptr’
../libc/stdio2/printf.c:51: 警告:隱式聲明函數(shù) ‘va_start’
../libc/stdio2/printf.c:51: 錯(cuò)誤:‘ptr’ 未聲明 (在此函數(shù)內(nèi)第一次使用)
../libc/stdio2/printf.c:52: 錯(cuò)誤:提供給函數(shù) ‘vfnprintf’ 的實(shí)參太多
../libc/stdio2/printf.c:53: 警告:隱式聲明函數(shù) ‘va_end’
make[2]: *** [printf.o] Error 1
make[2]: Leaving directory `/usr/blackfin-linux/build/uClinux-dist/lib/libm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/blackfin-linux/build/uClinux-dist/lib'
make: *** [subdirs] Error 1
[root@localhost uClinux-dist]#




2樓: >>參與討論
hardfire
典型的編譯器不匹配的問(wèn)題
更換正確的跟uClinux代碼匹配的編譯器bfin-uclinux-gcc -v看版本號(hào) 。

3樓: >>參與討論
ten1982
請(qǐng)教怎么匹配?能不能指導(dǎo)一下?
下面是我的編譯器的版本輸出信息:

[root@localhost uClinux-dist]# bfin-uclinux-gcc -v
使用內(nèi)建 specs。
目標(biāo):bfin-uclinux
配置為:/usr/src/packages/BUILD/blackfin-toolchain-07r1/../gcc-4.1/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=bfin-uclinux --prefix=/opt/uClinux/bfin-uclinux --enable-threads=posix --with-sysroot=/opt/uClinux/bfin-uclinux/bfin-uclinux/runtime --disable-libstdcxx-pch --enable-languages=c,c++ --disable-symvers --disable-libssp --enable-version-specific-runtime-libs --enable-__cxa_atexit
線程模型:posix
gcc 版本 4.1.1 (ADI 07R1)
[root@localhost uClinux-dist]#

4樓: >>參與討論
hardfire
你的uClinux的版本是多少?
舊的版本要用3.4.x的gcc

參與討論
昵稱:
討論內(nèi)容:
 
 
相關(guān)帖子
基于華恒BF531開(kāi)發(fā)板的TFT LCD驅(qū)動(dòng)方案
哪位兄臺(tái)自己畫了Blackfin的PCB板?
求購(gòu)GWPT4546-LCD液晶
哪位兄弟見(jiàn)過(guò)這個(gè)管子是(vishay)什么型號(hào)啊,謝謝!!
小弟初學(xué)blackfin,求助!
免費(fèi)注冊(cè)為維庫(kù)電子開(kāi)發(fā)網(wǎng)會(huì)員,參與電子工程師社區(qū)討論,點(diǎn)此進(jìn)入


Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號(hào)