LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-15-2006, 05:38 AM   #1
cynthia_thomas
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

http://www.dogma.net/markn/articles/crcman/crcman.htm


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: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by cynthia_thomas
Code:
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.
Code:
#ifdef UNIX
    DIR *dirp;
    #ifdef M_XENIX
        struct direct *entry;
    #else
        struct dirent *entry;
    #endif /* M_XENIX */
    #define NAME entry->d_name
#else
    FILE_INFO fileinfo;
    int done;
    #define NAME FILE_NAME( fileinfo )
    ...
    ...
#endif
I've made the indentations a bit more clear so it's easier to follow.
 
  


Reply



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:24 PM.

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