Share your knowledge at the LQ Wiki.
Go Back > Forums > > Member Intro
User Name
Password Member Intro New to Been a long time member but never made a post? Introduce yourself here.


  Search this Thread
Old 04-21-2008, 04:40 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Failed building ltib with can4linux package

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:
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:
Build Failed


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
building kernel package failed in pcs? saheelahamed Linux - Software 0 08-07-2007 05:07 AM
need help building a nethack package bl0tt0 Slackware 1 10-07-2006 09:33 PM
how to install LTIB ? jay_CMRIT_3477 Linux - Software 0 07-27-2006 09:37 AM
package building dockpunk Slackware 10 03-23-2005 10:46 AM
Building own RPM package hems Linux - Newbie 1 11-28-2002 04:16 AM > Forums > > Member Intro

All times are GMT -5. The time now is 01:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration