Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th November 2012, 06:13 AM
mvt007geek Offline
Registered User
 
Join Date: Nov 2012
Location: australia
Posts: 5
linuxchrome
Arrow a problem with "make"

hi friends
i have a problem with make command in fedora17.(3.6.7-4.fc17.x86_64)
i wanted to mount a systemfile called yaffs.
when i entered it's directory and did "make" it gave me some errors:


Code:
[root@ossl new_yaffs]#make
make -C /lib/modules/3.6.7-4.fc17.x86_64/build M=/home/ossl2/Documents/yaffs/new_yaffs modules
make[1]: Entering directory `/usr/src/kernels/3.6.7-4.fc17.x86_64'
  CC [M]  /home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.o
/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.c: In function ‘nandmtd_erase_block’:
/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.c:42:14: error: ‘struct mtd_info’ has no member named ‘erase’
make[2]: *** [/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.o] Error 1
make[1]: *** [_module_/home/ossl2/Documents/yaffs/new_yaffs] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.6.7-4.fc17.x86_64'
make: *** [modules] Error 2
i hade mounted yaffs in debian and it had no problem and worked well
it seems it have some problem with gcc i think.what should i do?
Reply With Quote
  #2  
Old 27th November 2012, 08:54 AM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxfedorafirefox
Re: a problem with "make"

You probably don't have the package building tools installed, hence the gcc error. Try
PHP Code:
yum groupinstall "Development Tools" 
Then try your make comand again.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 27th November 2012, 09:29 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfirefox
Re: a problem with "make"

Quote:
CC [M] /home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.o
/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.c: In function ‘nandmtd_erase_block’:
/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.c:42:14: error: ‘struct mtd_info’ has no member named ‘erase’
make[2]: *** [/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.o] Error 1
This LOOKS like ther is some mismatch between the application you are trying to compile and the include files that define the structure "mtd_info". This *looks* like a file system and it seems it relies on some older kernel source. You probably need a newer version of new_yaffs.


I just tried the latest source from
git clone git://www.aleph1.co.uk/yaffs2
and that doesn't compile against the 3.6.3 kernel either.

You need to modify that filesystem code to make it work against the recent kernels.
The structure is defined in files like ....
/usr/src/kernels/*/include/linux/mtd/mtd.h
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
Reply

Tags
make, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make to install problem "make: chkconfig: Command not found" tootal2 Using Fedora 5 5th October 2008 11:26 PM
Problem with "make" command.. annoos Using Fedora 9 23rd September 2006 04:50 PM
window maker "make" / "make install" problem (FC4) xiekke Using Fedora 3 15th February 2006 04:44 PM
Problem Installing apps using the "Make" command newby Using Fedora 1 18th January 2006 05:59 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 18:07 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat