I am having trouble building 1.1.8 under cygwin. iIf I do a regular make it generates too many errors to list, but if I go into the individual directories and do makes I get the following
dao directory
make: *** No rule to make target `../paranoia/libcdda_paranoia.a', needed by `cd
rdao.exe'. Stop.
paranoia directory
seems ok
if I go back and make dao after this....
CC -DDRIVER_TABLE_FILE=\"/usr/local/share/cdrdao/drivers\" -g -O2 -o cdrdao.ex
e main.o -L. -ldao -L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb -L../sc
silib/export -lscg -lschily
main.o(.text+0x41f2): In function `_Z12selectDriver7CommandP6ScsiIfPKc':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1005: undefined reference to `operator dele
te[](void*)'
main.o(.text+0x45b8): In function `_Z11setupDevice7CommandPKcS1_iiiii':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1048: undefined reference to `___gxx_person
ality_sj0'
main.o(.text+0x45ef):/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1057: undefined refere
nce to `operator new(unsigned)'
main.o(.text+0x4940):/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1152: undefined refere
nce to `operator delete(void*)'
main.o(.text+0x4a68):/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1061: undefined refere
nce to `operator delete(void*)'
main.o(.text+0x4ed2): In function `_Z7showTocPK3Toc':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1201: undefined reference to `___gxx_person
ality_sj0'
main.o(.text+0x5538): In function `_Z8showDataPK3Toci':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1275: undefined reference to `___gxx_person
ality_sj0'
main.o(.text+0x6148): In function `_Z8readCddbP3Toc':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1436: undefined reference to `___gxx_person
ality_sj0'
scsilib directory - seems ok
Makefile:286: warning: overriding commands for target `AParser.o'
Makefile:237: warning: ignoring old commands for target `AParser.o'
Makefile:292: warning: overriding commands for target `AParser.obj'
Makefile:243: warning: ignoring old commands for target `AParser.obj'
Makefile:298: warning: overriding commands for target `DLexerBase.o'
Makefile:249: warning: ignoring old commands for target `DLexerBase.o'
Makefile:304: warning: overriding commands for target `DLexerBase.obj'
Makefile:255: warning: ignoring old commands for target `DLexerBase.obj'
Makefile:310: warning: overriding commands for target `ATokenBuffer.o'
Makefile:261: warning: ignoring old commands for target `ATokenBuffer.o'
Makefile:316: warning: overriding commands for target `ATokenBuffer.obj'
Makefile:267: warning: ignoring old commands for target `ATokenBuffer.obj
utils directory
CC -g -O2 -o toc2cue.exe toc2cue.o -L../trackdb -ltrackdb
toc2cue.o(.text+0x98d): In function `main':
/cygdrive/c/cdrdao-1.1.8/utils/toc2cue.cc:160: undefined reference to `___gxx_pe
rsonality_sj0'
toc2cue.o(.text+0xc9e): In function `main':
/usr/include/c++/3.3.1/bits/basic_ios.h:417: undefined reference to `std::ios_ba
se::ios_base[not-in-charge]()'
toc2cue.o(.text+0xcab): In function `main':
/usr/include/c++/3.3.1/ostream:106: undefined reference to `VTT for std::basic_o
fstream<char, std::char_traits<char> >'
toc2cue.o(.text+0xcb0): In function `main':
/usr/include/c++/3.3.1/bits/basic_ios.h:417: undefined reference to `vtable for
std::basic_ios<char, std::char_traits<char> >'
toc2cue.o(.text+0xcc4): In function `main':
/usr/include/c++/3.3.1/ostream:106: undefined reference to `VTT for std::basic_o
fstream<char, std::char_traits<char> >'
toc2cue.o(.text+0xcef):/usr/include/c++/3.3.1/ostream:106: undefined reference t
o `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char
, std::char_traits<char> >*)'
toc2cue.o(.text+0xcf4): In function `main':
/usr/include/c++/3.3.1/fstream:645: undefined reference to `vtable for std::basi
c_ofstream<char, std::char_traits<char> >'
toc2cue.o(.text+0xcf9):/usr/include/c++/3.3.1/fstream:645: undefined reference t
o `vtable for std::basic_ofstream<char, std::char_traits<char> >'
xdao directory
Making all in stock
make[1]: Entering directory `/cygdrive/c/cdrdao-1.1.8/xdao/stock'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/c/cdrdao-1.1.8/xdao/stock'
make[1]: Entering directory `/cygdrive/c/cdrdao-1.1.8/xdao'
source='AddFileDialog.cc' object='AddFileDialog.o' libtool=no \
depfile='.deps/AddFileDialog.Po' tmpdepfile='.deps/AddFileDialog.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
CC -DHAVE_CONFIG_H -I. -I. -I.. -I./../trackdb -I./../paranoia -I./../dao -g
-O2 -c -o AddFileDialog.o `test -f 'AddFileDialog.cc' || echo './'`AddFileDialog
.cc
AddFileDialog.cc:26:19: gtkmm.h: No such file or directory
AddFileDialog.cc:27:19: gnome.h: No such file or directory
In file included from AddFileDialog.cc:29:
AddFileDialog.h:74:19: gtkmm.h: No such file or directory
In file included from AddFileDialog.cc:29:
AddFileDialog.h:78: error: `Gtk' is not a class or namespace
AddFileDialog.h:79: error: `FileSelection' is not a class or namespace
AddFileDialog.h:79: error: invalid base-class specification
AddFileDialog.h:92: error: `GdkEventAny' was not declared in this scope
AddFileDialog.h:92: error: syntax error before `)' token
In file included from AddFileDialog.cc:35:
AudioCDProject.h:23:19: gtkmm.h: No such file or directory
AudioCDProject.h:24:21: gtk/gtk.h: No such file or directory
AudioCDProject.h:25:26: libgnomeuimm.h: No such file or directory
In file included from AudioCDProject.h:36,
from AddFileDialog.cc:35:
Project.h:23:26: libgnomeuimm.h: No such file or directory
In file included from AudioCDProject.h:36,
from AddFileDialog.cc:35:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having trouble building 1.1.8 under cygwin. iIf I do a regular make it generates too many errors to list, but if I go into the individual directories and do makes I get the following
dao directory
make: *** No rule to make target `../paranoia/libcdda_paranoia.a', needed by `cd
rdao.exe'. Stop.
paranoia directory
seems ok
if I go back and make dao after this....
CC -DDRIVER_TABLE_FILE=\"/usr/local/share/cdrdao/drivers\" -g -O2 -o cdrdao.ex
e main.o -L. -ldao -L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb -L../sc
silib/export -lscg -lschily
main.o(.text+0x41f2): In function `_Z12selectDriver7CommandP6ScsiIfPKc':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1005: undefined reference to `operator dele
te[](void*)'
main.o(.text+0x45b8): In function `_Z11setupDevice7CommandPKcS1_iiiii':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1048: undefined reference to `___gxx_person
ality_sj0'
main.o(.text+0x45ef):/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1057: undefined refere
nce to `operator new(unsigned)'
main.o(.text+0x4940):/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1152: undefined refere
nce to `operator delete(void*)'
main.o(.text+0x4a68):/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1061: undefined refere
nce to `operator delete(void*)'
main.o(.text+0x4ed2): In function `_Z7showTocPK3Toc':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1201: undefined reference to `___gxx_person
ality_sj0'
main.o(.text+0x5538): In function `_Z8showDataPK3Toci':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1275: undefined reference to `___gxx_person
ality_sj0'
main.o(.text+0x6148): In function `_Z8readCddbP3Toc':
/cygdrive/c/cdrdao-1.1.8/dao/main.cc:1436: undefined reference to `___gxx_person
ality_sj0'
scsilib directory - seems ok
Makefile:286: warning: overriding commands for target `AParser.o'
Makefile:237: warning: ignoring old commands for target `AParser.o'
Makefile:292: warning: overriding commands for target `AParser.obj'
Makefile:243: warning: ignoring old commands for target `AParser.obj'
Makefile:298: warning: overriding commands for target `DLexerBase.o'
Makefile:249: warning: ignoring old commands for target `DLexerBase.o'
Makefile:304: warning: overriding commands for target `DLexerBase.obj'
Makefile:255: warning: ignoring old commands for target `DLexerBase.obj'
Makefile:310: warning: overriding commands for target `ATokenBuffer.o'
Makefile:261: warning: ignoring old commands for target `ATokenBuffer.o'
Makefile:316: warning: overriding commands for target `ATokenBuffer.obj'
Makefile:267: warning: ignoring old commands for target `ATokenBuffer.obj
utils directory
CC -g -O2 -o toc2cue.exe toc2cue.o -L../trackdb -ltrackdb
toc2cue.o(.text+0x98d): In function `main':
/cygdrive/c/cdrdao-1.1.8/utils/toc2cue.cc:160: undefined reference to `___gxx_pe
rsonality_sj0'
toc2cue.o(.text+0xc9e): In function `main':
/usr/include/c++/3.3.1/bits/basic_ios.h:417: undefined reference to `std::ios_ba
se::ios_base[not-in-charge]()'
toc2cue.o(.text+0xcab): In function `main':
/usr/include/c++/3.3.1/ostream:106: undefined reference to `VTT for std::basic_o
fstream<char, std::char_traits<char> >'
toc2cue.o(.text+0xcb0): In function `main':
/usr/include/c++/3.3.1/bits/basic_ios.h:417: undefined reference to `vtable for
std::basic_ios<char, std::char_traits<char> >'
toc2cue.o(.text+0xcc4): In function `main':
/usr/include/c++/3.3.1/ostream:106: undefined reference to `VTT for std::basic_o
fstream<char, std::char_traits<char> >'
toc2cue.o(.text+0xcef):/usr/include/c++/3.3.1/ostream:106: undefined reference t
o `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char
, std::char_traits<char> >*)'
toc2cue.o(.text+0xcf4): In function `main':
/usr/include/c++/3.3.1/fstream:645: undefined reference to `vtable for std::basi
c_ofstream<char, std::char_traits<char> >'
toc2cue.o(.text+0xcf9):/usr/include/c++/3.3.1/fstream:645: undefined reference t
o `vtable for std::basic_ofstream<char, std::char_traits<char> >'
xdao directory
Making all in stock
make[1]: Entering directory `/cygdrive/c/cdrdao-1.1.8/xdao/stock'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/c/cdrdao-1.1.8/xdao/stock'
make[1]: Entering directory `/cygdrive/c/cdrdao-1.1.8/xdao'
source='AddFileDialog.cc' object='AddFileDialog.o' libtool=no \
depfile='.deps/AddFileDialog.Po' tmpdepfile='.deps/AddFileDialog.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
CC -DHAVE_CONFIG_H -I. -I. -I.. -I./../trackdb -I./../paranoia -I./../dao -g
-O2 -c -o AddFileDialog.o `test -f 'AddFileDialog.cc' || echo './'`AddFileDialog
.cc
AddFileDialog.cc:26:19: gtkmm.h: No such file or directory
AddFileDialog.cc:27:19: gnome.h: No such file or directory
In file included from AddFileDialog.cc:29:
AddFileDialog.h:74:19: gtkmm.h: No such file or directory
In file included from AddFileDialog.cc:29:
AddFileDialog.h:78: error: `Gtk' is not a class or namespace
AddFileDialog.h:79: error: `FileSelection' is not a class or namespace
AddFileDialog.h:79: error: invalid base-class specification
AddFileDialog.h:92: error: `GdkEventAny' was not declared in this scope
AddFileDialog.h:92: error: syntax error before `)' token
In file included from AddFileDialog.cc:35:
AudioCDProject.h:23:19: gtkmm.h: No such file or directory
AudioCDProject.h:24:21: gtk/gtk.h: No such file or directory
AudioCDProject.h:25:26: libgnomeuimm.h: No such file or directory
In file included from AudioCDProject.h:36,
from AddFileDialog.cc:35:
Project.h:23:26: libgnomeuimm.h: No such file or directory
In file included from AudioCDProject.h:36,
from AddFileDialog.cc:35:
I get the same result trying to build 1.1.7 under cygwin
Hope this helps,
Louis
problem solved - this was due to incomplete installation of cygwin (the compilers were not fully installed).
cygcheck -c is very useful for debugging this sort of problem.