This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygwin 1.7 & cdrtools package
- From: wynfield at gmail dot com
- To: <cygwin at cygwin dot com>
- Cc:
- Date: Fri, 14 Aug 2009 19:56:22 +0900
- Subject: cygwin 1.7 & cdrtools package
on: cygwin 1.7 2009-08-13 17:52 build. (though I've had this error before on 1.7)
trying to build: ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a63.tar.gz
fails.
I was able to make the "smake" program which Shilly provides, but getting
the latest cdrtools package built failed.
If I was missing a required library, the build process should get this far I believe, the setup/configuration phase in smake should have spit it out.
Has anyone been working on cdrtools with cygwin 1.7 and if so I'd appreciate any help here. I am accustomed to cdrtools and it does support blue-ray disks as well, though to what exten I'm not sure yet, but would like to find out.
regards,
Wynfield
p.s. the new 2009-06-13 also fixed my building zsh problem.
-------------------------------- some clips of the errors follow:
examples of some make errors:
.....
==> COMPILING "spawn.o"
spawn.c: In function 'wait_chld':
spawn.c:148: warning: passing argument 1 of 'wait' from incompatible pointer type
spawn.c:154: error: invalid operands to binary & (have 'union wait' and 'int')
spawn.c:154: error: invalid operands to binary & (have 'union wait' and 'int')
spawn.c:154: error: invalid operands to binary & (have 'union wait' and 'int')
spawn.c:157: error: invalid operands to binary >> (have 'union wait' and 'int')
smake: Operation not permitted. *** Code 1 from command line for target 'spawn.o'.
smake: The following command caused the error:
echo " ==> COMPILING \"spawn.o\""; gcc -O -DSCHILY_BUILD -IOBJ/i686-cygwin32_nt-gcc -I../incs/i686-cygwin32_nt-gcc -I../include -mwin32 -Istdio -DUSE_SCANSTACK -DPORT_ONLY -c -o OBJ/i686-cygwin32_nt-gcc/spawn.o spawn.c
smake: Couldn't make 'all'.
smake: Leaving 'smake'[2] from directory '/usr/src/cdrtools/cdrtools-2.01.01/libschily'
....
..
.
==> COMPILING "misc.o"
==> LINKING "OBJ/i686-cygwin32_nt-gcc/btcflash.exe"
OBJ/i686-cygwin32_nt-gcc/skel.o:skel.c:(.text+0x5fb): undefined reference to `_getnum'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0xa3): undefined reference to `_flush'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0xba): undefined reference to `_js_getline'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0x1be): undefined reference to `_flush'
OBJ/i686-cygwin32_nt-gcc/io.o:io.c:(.text+0x1ce): undefined reference to `_js_getline'
OBJ/i686-cygwin32_nt-gcc/misc.o:misc.c:(.text+0xb6): undefined reference to `_flush'
../libs/i686-cygwin32_nt-gcc/librscg.a(scsi-remote.o):scsi-remote.c:(.text+0x3f0): undefined reference to `__nixwrite'
../libs/i686-cygwin32_nt-gcc/librscg.a(scsi-remote.o):scsi-remote.c:(.text+0x77e): undefined reference to `__nixwrite'
../libs/i686-cygwin32_nt-gcc/librscg.a(scsi-remote.o):scsi-remote.c:(.text+0x7af): undefined reference to `__nixwrite'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0xf6c): undefined reference to `_flush'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0x1069): undefined reference to `_serrmsgno'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0x1534): undefined reference to `_flush'
../libs/i686-cygwin32_nt-gcc/libscg.a(scsitransp.o):scsitransp.c:(.text+0x1547): undefined reference to `_js_getline'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x24f): undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x37d): undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x51a): undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x56f): undefined reference to `_getnum'
../libs/i686-cygwin32_nt-gcc/libcdrdeflt.a(cdrdeflt.o):cdrdeflt.c:(.text+0x5ef): undefined reference to `_getnum'
collect2: ld returned 1 exit status
smake: Operation not permitted. *** Code 1 from command line for target 'OBJ/i686-cygwin32_nt-gcc/btcflash.exe'.
smake: The following command caused the error:
echo " ==> LINKING \"OBJ/i686-cygwin32_nt-gcc/btcflash.exe\""; gcc -o OBJ/i686-cygwin32_nt-gcc/btcflash.exe OBJ/i686-cygwin32_nt-gcc/skel.o OBJ/i686-cygwin32_nt-gcc/io.o OBJ/i686-cygwin32_nt-gcc/cd_misc.o OBJ/i686-cygwin32_nt-gcc/scsi_cdr.o OBJ/i686-cy
gwin32_nt-gcc/scsi_scan.o OBJ/i686-cygwin32_nt-gcc/misc.o -L../libs/i686-cygwin32_nt-gcc -L../libs/i686-cygwin32_nt-gcc -lscgcmd -lrscg -lscg -lcdrdeflt -ldeflt -lschily
smake: Couldn't make 'all'.
smake: Leaving 'smake'[1] from directory '/usr/src/cdrtools/cdrtools-2.01.01/btcflash'
smake: Default commandline target: 'all'
smake: Doing exit(1)
==> MAKING "all" ON SUBDIRECTORY "SRCROOT/cdda2wav"
==> COMPILING "cdda2wav.o"
cdda2wav.c: In function 'CloseAll':
cdda2wav.c:600: warning: passing argument 1 of 'wait' from incompatible pointer type
cdda2wav.c:603: error: invalid operands to binary & (have 'union wait' and 'int')
cdda2wav.c:604: error: invalid operands to binary >> (have 'union wait' and 'int')
cdda2wav.c:607: error: invalid operands to binary >> (have 'union wait' and 'int')
cdda2wav.c:610: error: invalid operands to binary & (have 'union wait' and 'int')
cdda2wav.c:610: error: invalid operands to binary & (have 'union wait' and 'int')
cdda2wav.c:613: error: invalid operands to binary & (have 'union wait' and 'int')
cdda2wav.c:615: error: invalid operands to binary & (have 'union wait' and 'int')
cdda2wav.c:618: error: invalid operands to binary >> (have 'union wait' and 'int')
---- and so on.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple