AnsweredAssumed Answered

failed building ltib with can4linux package

Question asked by irati rekondo on Apr 21, 2008
Latest reply on Apr 23, 2008 by Guest
Hello everybody!
I have tried to install can4linux package with ltib and I found some errors. I have been looking for this error in Internet but I haven found anything. I would be very grateful if somebody could help me saying what I must look or do. thank you very much!!!

Those are the errors:

----------------------------------------------------------
Processing: can4linux
=======================

Cowardly refusing to clobber existing directory:
/home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpm/BUILD/can4linux-examples
Remove this by hand if you really want to rebuild this package from scratch

scbuild/scdeploy already unpacked package

Processing: can4linux
=======================
rpmbuild --dbpath /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpmdb --define '_unpackaged_files_terminate_build 0' --define '_target_cpu m68knommu' --define '__strip strip' --define '_topdir /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpm' --define '_prefix /usr' --define '_tmppath /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/dist/lfs-5.1/can4linux/can4linux.spec
Executing(%build): /bin/sh -e /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp/rpm-tmp.78032
+ umask 022
+ cd /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/rpm/BUILD
+ cd can4linux-examples
+ make 'CFLAGS=-Wall -I../can4linux-3.3.3 -DUSE_RT_SCHEDULING'
gcc can_send.o -o can_send
can_send.o: In function `main':
can_send.c.text+0x428): undefined reference to `mlockall'
collect2: ld returned 1 exit status
make: *** [can_send] Error 1
error: Bad exit status from /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp/rpm-tmp.78032 (%build)


RPM build errors:
Bad exit status from /home/traintic/Desktop/DISK/ltib-m520xevb-20060920/tmp/rpm-tmp.78032 (%build)
Failed building can4linux


f_buildrpms() returned an error, exiting

Started: Sun Mar 30 09:51:53 2008
Ended: Sun Mar 30 09:52:02 2008
Elapsed: 9 seconds

These packages failed to build:
can4linux
Build Failed

Outcomes