LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2003, 04:30 AM   #1
priyesh
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Compiling cdrecord


Compile on cygwin
-------------------------
I am getting errors while compiling cdrecord on cygwin. As a newbie I need some helps....

I have gone through the documentation and tried 'make' at cygwin bash prompt still the same problems...

Priyesh.
 
Old 09-05-2003, 05:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how are we possibly meant to help you if you don't even bother telling us what actually goes wrong?
 
Old 09-05-2003, 07:14 AM   #3
priyesh
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
cdrecord help

Sorry! for the mistake....

The error message is given below.... It frightens me. I think it get confuses with the 'LOCAL' keyword befor function implementation.

I 'm using gcc compiler...

Thanx for the quick response
Priyesh.

cdrecord.c:3580: syntax error before "void"
cdrecord.c:3582: conflicting types for `set_trsizes'
cdrecord.c:712: previous declaration of `set_trsizes'
cdrecord.c: In function `set_trsizes':
cdrecord.c:3584: parse error before "track_t"
cdrecord.c:3590: subscripted value is neither array nor pointer
cdrecord.c:3591: subscripted value is neither array nor pointer
cdrecord.c:3596: dereferencing pointer to incomplete type
cdrecord.c:3597: subscripted value is neither array nor pointer
cdrecord.c:3598: subscripted value is neither array nor pointer
cdrecord.c:3600: subscripted value is neither array nor pointer
cdrecord.c:3601: subscripted value is neither array nor pointer
cdrecord.c:3607: subscripted value is neither array nor pointer
cdrecord.c:3608: subscripted value is neither array nor pointer
cdrecord.c:3609: subscripted value is neither array nor pointer
cdrecord.c:3617: subscripted value is neither array nor pointer
cdrecord.c:3619: subscripted value is neither array nor pointer
cdrecord.c:3619: subscripted value is neither array nor pointer
cdrecord.c:3620: subscripted value is neither array nor pointer
cdrecord.c:3620: subscripted value is neither array nor pointer
cdrecord.c:3621: subscripted value is neither array nor pointer
cdrecord.c:3621: subscripted value is neither array nor pointer
cdrecord.c:3623: `EX_BAD' undeclared (first use in this function)
cdrecord.c:3625: subscripted value is neither array nor pointer
cdrecord.c:3625: subscripted value is neither array nor pointer
cdrecord.c:3630: subscripted value is neither array nor pointer
cdrecord.c:3630: subscripted value is neither array nor pointer
cdrecord.c:3631: subscripted value is neither array nor pointer
cdrecord.c:3631: subscripted value is neither array nor pointer
cdrecord.c: At top level:
cdrecord.c:3638: syntax error before "void"
cdrecord.c:3640: parse error before "SCSI"
cdrecord.c:3640: warning: data definition has no type or storage class
cdrecord.c:3642: parse error before "doexit"
cdrecord.c:3642: warning: data definition has no type or storage class
cdrecord.c:3646: parse error before "immed"
cdrecord.c:3646: dereferencing pointer to incomplete type
cdrecord.c:3646: warning: data definition has no type or storage class
cdrecord.c:3651: parse error before '->' token
cdrecord.c:3652: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3652: warning: data definition has no type or storage class
cdrecord.c:3653: parse error before "if"
cdrecord.c:3656: parse error before numeric constant
cdrecord.c:3656: warning: data definition has no type or storage class
cdrecord.c:3657: parse error before '->' token
cdrecord.c:3661: initializer element is not constant
cdrecord.c:3661: warning: data definition has no type or storage class
cdrecord.c:3662: parse error before '->' token
cdrecord.c:3663: parse error before numeric constant
cdrecord.c:3663: warning: data definition has no type or storage class
cdrecord.c:3664: parse error before '->' token
cdrecord.c:3670: parse error before string constant
cdrecord.c:3670: warning: data definition has no type or storage class
cdrecord.c:3673: parse error before numeric constant
cdrecord.c:3673: warning: data definition has no type or storage class
cdrecord.c:3674: parse error before numeric constant
cdrecord.c:3674: warning: data definition has no type or storage class
cdrecord.c:3675: parse error before numeric constant
cdrecord.c:3675: warning: data definition has no type or storage class
cdrecord.c:3676: parse error before '->' token
cdrecord.c:3677: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3677: warning: data definition has no type or storage class
cdrecord.c:3678: parse error before '->' token
cdrecord.c:3679: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3679: warning: data definition has no type or storage class
cdrecord.c:3680: parse error before numeric constant
cdrecord.c:3680: warning: data definition has no type or storage class
cdrecord.c:3681: parse error before numeric constant
cdrecord.c:3681: warning: data definition has no type or storage class
cdrecord.c:3684: syntax error before "void"
cdrecord.c:3686: parse error before "SCSI"
cdrecord.c:3686: warning: data definition has no type or storage class
cdrecord.c:3689: parse error before '{' token
cdrecord.c:3697: syntax error before "void"
cdrecord.c:3699: parse error before "SCSI"
cdrecord.c:3699: warning: data definition has no type or storage class
cdrecord.c:3701: parse error before '{' token
cdrecord.c:3707: parse error before string constant
cdrecord.c:3707: warning: data definition has no type or storage class
cdrecord.c:3708: parse error before numeric constant
cdrecord.c:3708: warning: data definition has no type or storage class
cdrecord.c:3712: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3712: warning: data definition has no type or storage class
cdrecord.c:3713: parse error before '->' token
cdrecord.c:3721: parse error before string constant
cdrecord.c:3721: warning: data definition has no type or storage class
cdrecord.c:3724: warning: data definition has no type or storage class
cdrecord.c:3726: parse error before "if"
cdrecord.c:3748: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3748: warning: data definition has no type or storage class
cdrecord.c:3749: parse error before '}' token
cdrecord.c:3751: syntax error before "void"
cdrecord.c:3753: parse error before "SCSI"
cdrecord.c:3753: warning: data definition has no type or storage class
cdrecord.c:3755: parse error before '{' token
cdrecord.c:3761: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3761: warning: data definition has no type or storage class
cdrecord.c:3762: parse error before '->' token
cdrecord.c:3768: parse error before "SCSI"
cdrecord.c:3768: warning: data definition has no type or storage class
cdrecord.c:3771: parse error before '{' token
cdrecord.c:3775: warning: data definition has no type or storage class
cdrecord.c:3776: parse error before '}' token
cdrecord.c:3786: syntax error before "void"
cdrecord.c:3788: parse error before "SCSI"
cdrecord.c:3788: warning: data definition has no type or storage class
cdrecord.c:3791: parse error before '{' token
cdrecord.c:3794: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3794: warning: data definition has no type or storage class
cdrecord.c:3795: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3795: warning: data definition has no type or storage class
cdrecord.c:3796: parse error before '}' token
cdrecord.c:3804: parse error before "SCSI"
cdrecord.c:3804: warning: data definition has no type or storage class
cdrecord.c:3807: parse error before '{' token
cdrecord.c:3810: dereferencing pointer to incomplete type
cdrecord.c:3812: parse error before '->' token
cdrecord.c:3822: parse error before numeric constant
cdrecord.c:3822: warning: data definition has no type or storage class
cdrecord.c:3823: parse error before string constant
cdrecord.c:3823: warning: data definition has no type or storage class
cdrecord.c:3824: parse error before numeric constant
cdrecord.c:3824: warning: data definition has no type or storage class
cdrecord.c:3825: warning: parameter names (without types) in function declaratio
n
cdrecord.c:3825: warning: data definition has no type or storage class
cdrecord.c:3826: parse error before numeric constant
cdrecord.c:3826: warning: data definition has no type or storage class
cdrecord.c:3830: syntax error before "void"
cdrecord.c:3832: parse error before "SCSI"
cdrecord.c:3832: warning: data definition has no type or storage class
cdrecord.c:3834: parse error before '{' token
cdrecord.c:3838: parse error before "if"
cdrecord.c:3849: parse error before string constant
cdrecord.c:3849: warning: data definition has no type or storage class
cdrecord.c:3852: syntax error before "void"
cdrecord.c:3854: parse error before "SCSI"
cdrecord.c:3854: warning: data definition has no type or storage class
cdrecord.c:3856: parse error before '{' token
cdrecord.c:3867: parse error before '->' token
cdrecord.c:3870: parse error before string constant
cdrecord.c:3870: warning: data definition has no type or storage class
cdrecord.c:3878: parse error before string constant
cdrecord.c:3878: warning: data definition has no type or storage class
cdrecord.c:3881: conflicting types for `xlba'
cdrecord.c:3860: previous declaration of `xlba'
cdrecord.c:3882: initializer element is not constant
cdrecord.c:3882: warning: data definition has no type or storage class
cdrecord.c:3883: parse error before "if"
cdrecord.c:3885: parse error before '&' token
cdrecord.c:3885: warning: data definition has no type or storage class
cdrecord.c:3887: warning: data definition has no type or storage class
cdrecord.c:3888: parse error before '&' token
cdrecord.c:3888: warning: data definition has no type or storage class
cdrecord.c:3889: redefinition of `xlba'
cdrecord.c:3881: `xlba' previously defined here
cdrecord.c:3890: initializer element is not constant
cdrecord.c:3890: warning: data definition has no type or storage class
cdrecord.c:3891: parse error before "if"
cdrecord.c:3893: parse error before '&' token
cdrecord.c:3893: warning: data definition has no type or storage class
cdrecord.c:3902: syntax error before "void"
cdrecord.c:3904: conflicting types for `print_track'
cdrecord.c:3893: previous declaration of `print_track'
In file included from /usr/include/w32api/objbase.h:12,
from /usr/include/w32api/ole2.h:9,
from /usr/include/w32api/windows.h:111,
from cdrecord.c:4030:
/usr/include/stdlib.h:65: conflicting types for `exit'
cdrecord.c:761: previous declaration of `exit'
/usr/include/stdlib.h:73: conflicting types for `malloc'
cdrecord.c:568: previous declaration of `malloc'
cdrecord.c:4034: syntax error before "int"
cdrecord.c: In function `rt_raisepri':
cdrecord.c:4042: `EX_BAD' undeclared (first use in this function)
cdrecord.c: At top level:
cdrecord.c:4067: syntax error before "void"
cdrecord.c:4069: warning: type mismatch with previous implicit declaration
cdrecord.c:390: warning: previous implicit declaration of `raisepri'
cdrecord.c:4069: warning: `raisepri' was previously implicitly declared to retur
n `int'
cdrecord.c: In function `raisepri':
cdrecord.c:4093: `EX_BAD' undeclared (first use in this function)
cdrecord.c:4107:28: stropts.h: No such file or directory
cdrecord.c: At top level:
cdrecord.c:4122: syntax error before "void"
cdrecord.c:4124: warning: type mismatch with previous implicit declaration
cdrecord.c:401: warning: previous implicit declaration of `wait_input'
cdrecord.c:4124: warning: `wait_input' was previously implicitly declared to ret
urn `int'
cdrecord.c: In function `wait_input':
cdrecord.c:4134: `STDIN_FILENO' undeclared (first use in this function)
cdrecord.c: At top level:
cdrecord.c:4141: syntax error before "void"
cdrecord.c:4143: warning: type mismatch with previous implicit declaration
cdrecord.c:357: warning: previous implicit declaration of `checkgui'
cdrecord.c:4143: warning: `checkgui' was previously implicitly declared to retur
n `int'
cdrecord.c: In function `checkgui':
cdrecord.c:4144: storage size of `st' isn't known
cdrecord.c:4146: `STDERR_FILENO' undeclared (first use in this function)
cdrecord.c: At top level:
cdrecord.c:4153: syntax error before "int"
cdrecord.c:4155: `getbltype' used prior to declaration
cdrecord.c: In function `getbltype':
cdrecord.c:4182: `EX_BAD' undeclared (first use in this function)
cdrecord.c: At top level:
cdrecord.c:4188: syntax error before "void"
cdrecord.c:4190: conflicting types for `print_drflags'
cdrecord.c:638: previous declaration of `print_drflags'
cdrecord.c: In function `print_drflags':
cdrecord.c:4194: dereferencing pointer to incomplete type
cdrecord.c:4197: dereferencing pointer to incomplete type
cdrecord.c:4199: dereferencing pointer to incomplete type
cdrecord.c:4201: dereferencing pointer to incomplete type
cdrecord.c:4204: dereferencing pointer to incomplete type
cdrecord.c:4206: dereferencing pointer to incomplete type
cdrecord.c:4208: dereferencing pointer to incomplete type
cdrecord.c:4210: dereferencing pointer to incomplete type
cdrecord.c:4212: dereferencing pointer to incomplete type
cdrecord.c:4214: dereferencing pointer to incomplete type
cdrecord.c:4216: dereferencing pointer to incomplete type
cdrecord.c:4218: dereferencing pointer to incomplete type
cdrecord.c:4220: dereferencing pointer to incomplete type
cdrecord.c: At top level:
cdrecord.c:4225: syntax error before "void"
cdrecord.c:4227: conflicting types for `print_wrmodes'
cdrecord.c:639: previous declaration of `print_wrmodes'
cdrecord.c: In function `print_wrmodes':
cdrecord.c:4232: dereferencing pointer to incomplete type
cdrecord.c:4236: dereferencing pointer to incomplete type
cdrecord.c:4240: dereferencing pointer to incomplete type
cdrecord.c:4250: dereferencing pointer to incomplete type
cdrecord.c:4254: dereferencing pointer to incomplete type
cdrecord.c:4258: dereferencing pointer to incomplete type
cdrecord.c:4262: dereferencing pointer to incomplete type
cdrecord.c:4266: dereferencing pointer to incomplete type
cdrecord.c: At top level:
cdrecord.c:4273: syntax error before "WBOOL"
cdrecord.c: In function `check_wrmode':
cdrecord.c:4279: dereferencing pointer to incomplete type
cdrecord.c:4282: `EX_BAD' undeclared (first use in this function)
cdrecord.c: At top level:
cdrecord.c:4346: syntax error before "void"
cdrecord.c: In function `set_wrmode':
cdrecord.c:4352: dereferencing pointer to incomplete type
cdrecord.c:4355: dereferencing pointer to incomplete type
cdrecord.c:4359: dereferencing pointer to incomplete type
cdrecord.c:4364: dereferencing pointer to incomplete type
cdrecord.c:4368: dereferencing pointer to incomplete type
cdrecord.c:4372: dereferencing pointer to incomplete type
cdrecord.c:4376: dereferencing pointer to incomplete type
cdrecord.c:4382: dereferencing pointer to incomplete type
cdrecord.c:4386: dereferencing pointer to incomplete type
cdrecord.c:4390: dereferencing pointer to incomplete type
cdrecord.c:4394: dereferencing pointer to incomplete type
cdrecord.c: At top level:
cdrecord.c:160: storage size of `starttime' isn't known
cdrecord.c:161: storage size of `wstarttime' isn't known
cdrecord.c:162: storage size of `stoptime' isn't known
cdrecord.c:163: storage size of `fixtime' isn't known
cdrecord.c:2107: storage size of `tcur' isn't known

Administrator@Priyesh /cygdrive/d/cdrtools-2.01/cdrecord
$ gcc cdrecord.c
 
  


Reply


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
cdrecord not working after compiling new kernel 2.6.7 alitrix Linux - Hardware 8 12-30-2004 04:06 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
cdrecord quentusrex Debian 6 08-20-2004 03:01 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
cdrecord joshandcar Linux - Newbie 0 05-11-2003 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:19 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