Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-15-2006, 05:38 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 28

Rep: Reputation: 15
crcman.c: In function `ProcessAllFiles': crcman.c:295: storage size of `fileinfo' isn

hi all,

i downloaded a file program for file verification using CRC check.
It is not compiling . These are the compilation errore.

[root@CORE-2-02 root]# gcc crcman.c
crcman.c: In function `ProcessAllFiles':
crcman.c:295: storage size of `fileinfo' isn't known
crcman.c:315: `_A_SUBDIR' undeclared (first use in this function)
crcman.c:315: (Each undeclared identifier is reported only once
crcman.c:315: for each function it appears in.)

the site is

Can anybody help me regarding this??

thanks and regards
cynthia thomas
Old 05-15-2006, 06:59 AM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Originally Posted by cynthia_thomas
crcman.c:295: storage size of `fileinfo' isn't known
It looks like you're compiling for DOS. The same mighgt apply to the other errors; did not check.
#ifdef UNIX
    DIR *dirp;
    #ifdef M_XENIX
        struct direct *entry;
        struct dirent *entry;
    #endif /* M_XENIX */
    #define NAME entry->d_name
    FILE_INFO fileinfo;
    int done;
    #define NAME FILE_NAME( fileinfo )
I've made the indentations a bit more clear so it's easier to follow.


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
LXer: Prisoner of Redmond: Yet Another Way Paul Allen Isn’t Like You or Me LXer Syndicated Linux News 1 04-03-2006 04:03 AM
Isnīt linux too much people-centered? ajba74 General 15 12-28-2005 08:56 PM
Why Isn"t It Pretty!!!???? TheMadAd19 Linux - Newbie 17 02-27-2005 04:15 AM
Error: "storage size of 'hw' isn't known" Thray Linux - General 1 04-07-2004 07:01 PM
Sound under Gnome isn;t working (/dev/dsp err) weblion Linux - General 2 08-13-2001 11:19 AM

All times are GMT -5. The time now is 07:26 AM.

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