Sierra Sl8092 modem driver and MINICOM are not present, how to do?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Sierra Sl8092 modem driver and MINICOM are not present, how to do?

7,117 次查看
enaud
Contributor III

Hi all,

Yesterday I got the i.MX53 board and would like to attach a board with the Sierra chip AirPrime 8092 which is an HSPA + modem. 

On my PC with ubuntu 11.10 driver is already present but this board with default Linux not recognize it properly. How can I do? I must add driver? and where is this driver? How compile driver for this board.

thanks

标签 (1)
0 项奖励
回复
74 回复数

2,837 次查看
enaud
Contributor III

i've resolved with screen

thanks

0 项奖励
回复

2,837 次查看
enaud
Contributor III

?

0 项奖励
回复

2,837 次查看
enaud
Contributor III

i have this error:

lucid@ubuntu:~/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib$ ./ltib /v

Processing platform: Freescale iMX reference boards
=====================================================
using config/platform/imx/.config

Processing: fake-provides
===========================

Processing: u-boot
====================
Build path taken because: directory build, no prebuilt rpm,
scbuild/scdeploy already unpacked package

Processing: u-boot
====================
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp' --define '_rpmdir /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/u-boot.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/rpm-tmp.48687
+ umask 022
+ cd /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/rpm/BUILD
+ cd u-boot-2009.08
/home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/rpm-tmp.48687: 22: PKG_U_BOOT_CONFIG_TYPE: must be set, e.g. MPC8548CDS_config
error: Bad exit status from /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/rpm-tmp.48687 (%build)


RPM build errors:
    Bad exit status from /home/lucid/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib/tmp/rpm-tmp.48687 (%build)
Build time for u-boot: 0 seconds

Failed building u-boot


f_buildrpms() returned an error, exiting
traceback:
 main:560


Started: Thu Mar 15 09:14:12 2012
Ended:   Thu Mar 15 09:14:12 2012
Elapsed: 0 seconds

These packages failed to build:
u-boot

Build Failed

Exiting on error or interrupt
lucid@ubuntu:~/Desktop/L2.6.35_11.09.01_ER_source/ltib/ltib$

0 项奖励
回复

2,837 次查看
KrishnaPavan
Contributor II

do ./ltib -v and find the error.

Its an easy task, which will help you find the error, on your own!

0 项奖励
回复

2,837 次查看
KrishnaPavan
Contributor II

You cannot play with compilers.

Old / New, there are compatibility issues.

So stick with the original until you profess in adding new packages WRT Compiler Compatibilty.

enaud said:

yes i have modified spec file because http://ftp.debian.org/debian/pool/main/m/minicom/minicom_2.2.1.orig... in specfile not exist..and is old version

0 项奖励
回复

2,837 次查看
enaud
Contributor III

why every time I see this error?

Executing(%build): /bin/sh -e /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.92655
+ umask 022
+ cd /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD
+ cd u-boot-2009.08
/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.92655: line 22: PKG_U_BOOT_CONFIG_TYPE: must be set, e.g. MPC8548CDS_config
error: Bad exit status from /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.92655 (%build)


RPM build errors:
Bad exit status from /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.92655 (%build)
Build time for u-boot: 53 seconds

Failed building u-boot


f_buildrpms() returned an error, exiting
traceback:
main:560


Started: Thu Mar 15 15:57:17 2012
Ended: Thu Mar 15 15:58:57 2012
Elapsed: 100 seconds

These packages failed to build:
u-boot

Build Failed

Exiting on error or interrupt
giuseppe@giuseppe-K53SV:~/Scrivania/iMX53/source/ltib/ltib$

0 项奖励
回复

2,837 次查看
DonaldR_PooleJr
Contributor I

I'm not sure. I (as well as Krishna Pavan) am still researching that at the moment.  I just want to give you an alternative solution so you can at least move ahead with what you want to do.

0 项奖励
回复

2,837 次查看
enaud
Contributor III

but why minicom not is install correclty?

0 项奖励
回复

2,837 次查看
DonaldR_PooleJr
Contributor I

You should use screen for terminal emulation as follows:

  • screen <port> <baud_rate>

For example, in my case my my screen command is

  • screen /dev/ttyUSB0 115200

To exit out of the screen session, press Ctrl + 'a' and then press 'k'.

0 项奖励
回复

2,837 次查看
enaud
Contributor III

ok.. i selected Screen from Ltib, but howset port, boud rate and other paramters?

0 项奖励
回复

2,837 次查看
DonaldR_PooleJr
Contributor I

If you are having trouble with minicom at the moment and you want to use a serial program (emulator) to login to the target, I suggest looking at using screen.  You can select it from the list of packages to add to the target just like you selected minicom within LTIB.  It's a nice alternative that will get you up and running.  Once you login to your target and do what you need to do, go back to debugging the minicom issue if you really want/need to use minicom.

0 项奖励
回复

2,837 次查看
enaud
Contributor III

yes i have modified spec file because http://ftp.debian.org/debian/pool/main/m/minicom/minicom_2.2.1.orig.tar.gz in specfile not exist..and is old version

0 项奖励
回复

2,837 次查看
KrishnaPavan
Contributor II

Have you changed spec file?

Why don't you find a proper package instead?

0 项奖励
回复

2,837 次查看
enaud
Contributor III

I modified spec file and put source (.tar.gz) in /pkgs, but i have error:

Processing: minicom
=====================
Build path taken because: no prebuilt rpm,
Testing network connectivity
OK GPP:

Try minicom_2.6.orig.tar.gz.md5 from the GPP
http://bitshrine.org/gpp/minicom_2.6.orig.tar.gz.md5:
13:32:01 ERROR 404: Not Found.
Try minicom_2.6.orig.tar.gz from the GPP
http://bitshrine.org/gpp/minicom_2.6.orig.tar.gz:
13:32:02 ERROR 404: Not Found.
Can't get: minicom_2.6.orig.tar.gz at ./ltib line 790.


f_buildrpms() returned an error, exiting
traceback:
main:560


Started: Thu Mar 15 13:28:04 2012
Ended: Thu Mar 15 13:32:02 2012
Elapsed: 238 seconds

These packages failed to build:
minicom

Build Failed

Exiting on error or interrupt

0 项奖励
回复

2,837 次查看
KrishnaPavan
Contributor II

look in ltib/dist/lfs-5.1

go to minicom

find a spec file

download the appropriate package

add appropriate package to /pkgs.

Unless you follow the above, you will get those errors....that, no one can solve from here.

0 项奖励
回复

2,837 次查看
enaud
Contributor III

someone?

0 项奖励
回复

2,837 次查看
enaud
Contributor III

i can use another programm like minicom? What?

0 项奖励
回复

2,837 次查看
enaud
Contributor III

ihave downloaded from here: 

http://alioth.debian.org/frs/?group_id=30018

minicom-2.6.1.tar.gz

and i put it in /pkgs directory.. But i view that Ltib search a different version: Minicom 2.2, I must download 2.2 version?

0 项奖励
回复

2,837 次查看
KrishnaPavan
Contributor II

Hi,

Are you sure, you have added a proper minicom package to the /pkgs?

If yes, then you need to do some tweaking in the program, on your own,

If no,   then you need to add proper package, by looking spec file in lfs5.1 directory.

0 项奖励
回复

2,837 次查看
enaud
Contributor III

i have config.log

with ./ltib -v i have many rows and after i have same error: 

I past only last rows:

vendor=Freescale
prefix=%{pfx}

Processing: minicom
=====================
get_spec(minicom)
spec files: [ /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/dist/lfs-5.1/minicom/minicom.spec, ]
pfx=/opt/freescale/rootfs/%{_target_cpu}
files=
%defattr(-,root,root)
%{pfx}/*
prep=
%setup


group=Applications/Communications
buildroot=%{_tmppath}/%{name}
summary=TTY mode communications package ala Telix
url=http://ftp.debian.org/debian/pool/main/m/minicom/minicom_2.2.orig.tar.gz
install=rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}


version=2.2
name=minicom
release=1
packager=Umesh Nerlige
license=GPL
build=./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
make


sources=Source : minicom_2.2.orig.tar.gz

pkg_dir_name=minicom-2.2
patches=
vendor=Freescale
prefix=%{pfx}
Build path taken because: directory build, no prebuilt rpm, 
scbuild/scdeploy already unpacked package

Processing: minicom
=====================
get_spec(minicom)
spec files: [ /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/dist/lfs-5.1/minicom/minicom.spec, ]
pfx=/opt/freescale/rootfs/%{_target_cpu}
files=
%defattr(-,root,root)
%{pfx}/*
prep=
%setup


group=Applications/Communications
buildroot=%{_tmppath}/%{name}
summary=TTY mode communications package ala Telix
url=http://ftp.debian.org/debian/pool/main/m/minicom/minicom_2.2.orig.tar.gz
install=rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}


version=2.2
name=minicom
release=1
packager=Umesh Nerlige
license=GPL
build=./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
make


sources=Source : minicom_2.2.orig.tar.gz

pkg_dir_name=minicom-2.2
patches=
vendor=Freescale
prefix=%{pfx}
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp' --define '_rpmdir /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/dist/lfs-5.1/minicom/minicom.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.39319
+ umask 022
+ cd /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD
+ cd minicom-2.2
+ ./configure --prefix=/usr --host=arm-linux --build=x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for arm-linux-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-linux-ranlib... arm-linux-ranlib
checking for library containing strerror... none required
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for kermit... no
checking for tputs in -ltinfo... no
checking for tputs in -lncurses... no
checking for tputs in -lcurses... no
checking for tputs in -ltermcap... yes
checking for socket in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking POSIX termios... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ptem.h usability... no
checking sys/ptem.h presence... no
checking for sys/ptem.h... no
checking for sys/stat.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttold.h usability... no
checking sys/ttold.h presence... no
checking for sys/ttold.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking posix1_lim.h usability... no
checking posix1_lim.h presence... no
checking for posix1_lim.h... no
checking for sgtty.h... (cached) yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for error_at_line... yes
checking whether closedir returns void... yes
checking if malloc debugging is wanted... no
checking for getcwd... yes
checking for getwd... yes
checking for memmove... yes
checking for strerror... yes
checking for strstr... yes
checking for vsnprintf... yes
checking for vprintf... yes
checking for select... yes
checking for snprintf... yes
checking for usleep... yes
checking for getopt... yes
checking for getopt_long... yes
checking for long file names... yes
checking for com line lock directory... /var/lock
checking for default serial port device... /dev/ttyS1
checking for default baud rate... 115200
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating extras/Makefile
config.status: creating extras/linux/Makefile
config.status: creating extras/tables/Makefile
config.status: creating extras/termcap/Makefile
config.status: creating extras/terminfo/Makefile
config.status: creating man/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating minicom.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
+ make
make all-recursive
make[1]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2'
Making all in doc
make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/doc'
Making all in extras
make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras'
Making all in linux
make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/linux'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/linux'
Making all in tables
make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/tables'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/tables'
Making all in termcap
make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/termcap'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/termcap'
Making all in terminfo
make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/terminfo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/terminfo'
make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras'
make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras'
Making all in man
make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/man'
Making all in po
make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/po'
Making all in lib
make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/lib'
Making all in src
make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT minicom.o -MD -MP -MF ".deps/minicom.Tpo" -c -o minicom.o minicom.c; \
then mv -f ".deps/minicom.Tpo" ".deps/minicom.Po"; else rm -f ".deps/minicom.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o window.c; \
then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT rwconf.o -MD -MP -MF ".deps/rwconf.Tpo" -c -o rwconf.o rwconf.c; \
then mv -f ".deps/rwconf.Tpo" ".deps/rwconf.Po"; else rm -f ".deps/rwconf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o file.c; \
then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT getsdir.o -MD -MP -MF ".deps/getsdir.Tpo" -c -o getsdir.o getsdir.c; \
then mv -f ".deps/getsdir.Tpo" ".deps/getsdir.Po"; else rm -f ".deps/getsdir.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT wildmat.o -MD -MP -MF ".deps/wildmat.Tpo" -c -o wildmat.o wildmat.c; \
then mv -f ".deps/wildmat.Tpo" ".deps/wildmat.Po"; else rm -f ".deps/wildmat.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o common.c; \
then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
In file included from minicom.h:28,
from minicom.c:36:
window.h:154: error: conflicting types for 'wprintf'
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/bits/wchar2.h:338: note: previous definition of 'wprintf' was here
minicom.c:162: error: conflicting types for 'getline'
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/stdio.h:651: note: previous declaration of 'getline' was here
minicom.c: In function 'scrollback':
minicom.c:464: warning: format not a string literal and no format arguments
minicom.c:517: warning: format not a string literal and no format arguments
minicom.c:726: warning: format not a string literal and no format arguments
minicom.c:746: warning: format not a string literal and no format arguments
minicom.c:765: warning: format not a string literal and no format arguments
minicom.c: In function 'main':
minicom.c:1537: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
In file included from minicom.h:28,
from window.c:30:
window.h:154: error: conflicting types for 'wprintf'
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/bits/wchar2.h:338: note: previous definition of 'wprintf' was here
window.c:1149: error: conflicting types for 'wprintf'
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/bits/wchar2.h:338: note: previous definition of 'wprintf' was here
make[2]: *** [window.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [minicom.o] Error 1
common.c:27: warning: '_rcsid' defined but not used
wildmat.c:58: warning: '_rcsid' defined but not used
rwconf.c:38: warning: '_rcsid' defined but not used
getsdir.c:21: warning: '_rcsid' defined but not used
main.c: In function 'leave':
main.c:89: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
main.c: In function 'open_term':
main.c:194: warning: dereferencing type-punned pointer will break strict-aliasing rules
main.c:232: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
main.c:235: warning: ignoring return value of 'write', declared with attribute warn_unused_result
main.c:324: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
main.c: In function 'do_output':
main.c:350: warning: ignoring return value of 'write', declared with attribute warn_unused_result
main.c:352: warning: ignoring return value of 'write', declared with attribute warn_unused_result
main.c: At top level:
main.c:23: warning: '_rcsid' defined but not used
file.c: In function 'new_filedir':
file.c:327: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
file.c: At top level:
file.c:23: warning: '_rcsid' defined but not used
make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2'
make: *** [all] Error 2
error: Bad exit status from /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.39319 (%build)


RPM build errors:
Bad exit status from /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.39319 (%build)
Build time for minicom: 33 seconds

Failed building minicom


f_buildrpms() returned an error, exiting
traceback:
main:560


Started: Thu Mar 15 09:39:19 2012
Ended: Thu Mar 15 09:39:55 2012
Elapsed: 36 seconds

These packages failed to build:
minicom

Build Failed

Exiting on error or interrupt
giuseppe@giuseppe-K53SV:~/Scrivania/iMX53/source/ltib/ltib$

0 项奖励
回复