|
From: Claudio M. <cl...@si...> - 2004-01-06 20:17:49
|
Hi all
I got ls from cvs. First problem was that the "install.sh" file is
lacking, so i copied another install.sh from somwhere else. I think you
need to add said file to the cvs.
Well, the second problem i couldn't solve:
-----8<-----
$ make
Making all in defines
make[1]: Entering directory `/home/claudio/sw/linuxsampler/defines'
make[2]: Entering directory `/home/claudio/sw/linuxsampler/defines'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/claudio/sw/linuxsampler/defines'
make[1]: Leaving directory `/home/claudio/sw/linuxsampler/defines'
Making all in drivers
make[1]: Entering directory `/home/claudio/sw/linuxsampler/drivers'
g++ -DPACKAGE=\"LinuxSampler\" -DVERSION=\"0.0.1\" -DHAVE_LIBASOUND=1
-DSTDC_HEADERS=1 -I. -I. -DOSS_E
ude -I/usr/include/sigc++-1.0 -I../defines -I../modules/mixer
-I../modules/voice -c sound_driver.cpp
In file included from ../modules/voice/voice.h:21,
from ../modules/mixer/mixer_base.h:24,
from sound_driver.h:22,
from sound_driver.cpp:18:
../defines/typedefs.h:33: syntax error before `(' token
../defines/typedefs.h:36: `cacabuffer' was not declared in this scope
../defines/typedefs.h:36: `m_val' was not declared in this scope
../defines/typedefs.h:36: ISO C++ forbids declaration of `sprintf' with
no type
../defines/typedefs.h:36: `int sprintf' redeclared as different kind of
symbol
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/stdio.h:310: previous
declaration of `int sprintf(char*, const char*, ...)'
../defines/typedefs.h:36: initializer list being treated as compound
expression
../defines/typedefs.h:37: parse error before `return'
In file included from ../modules/voice/voice.h:21,
from ../modules/mixer/mixer_base.h:24,
from sound_driver.h:22,
from sound_driver.cpp:18:
../defines/typedefs.h:42:1: warning: no newline at end of file
In file included from ../modules/voice/voice.h:25,
from ../modules/mixer/mixer_base.h:24,
from sound_driver.h:22,
from sound_driver.cpp:18:
../defines/sample_defs.h:32:7: warning: no newline at end of file
In file included from sound_driver.cpp:18:
sound_driver.h:76: ISO C++ forbids declaration of `string' with no type
sound_driver.h:76: `string' declared as a `virtual' field
sound_driver.h:76: parse error before `(' token
make[1]: *** [sound_driver.o] Error 1
make[1]: Leaving directory `/home/claudio/sw/linuxsampler/drivers'
make: *** [all-recursive] Error 1
-----8<-----
My gcc:
-----8<-----
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with: /var/tmp/portage/gcc-3.2.2-r2/work/gcc-3.2.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext
Thread model: posix
gcc version 3.2.2 20030322 (Gentoo Linux 1.4 3.2.2-r2)
-----8<-----
mfg
Claudio
BTW: Does anyone have a complete archive of this mailinglist as a tarred
maildir oder mbox file? I don't like the sf.net archive browser.
|
|
From: Christian S. <chr...@ep...> - 2004-01-07 17:26:34
|
Es geschah am Mittwoch, 7. Januar 2004 22:19 als Claudio Mettler schrieb:
> Hi all
>
> I got ls from cvs. First problem was that the "install.sh" file is
> lacking, so i copied another install.sh from somwhere else. I think you
> need to add said file to the cvs.
No, 'make install' should do it.
> Well, the second problem i couldn't solve:
>
> -----8<-----
> $ make
> Making all in defines
> make[1]: Entering directory `/home/claudio/sw/linuxsampler/defines'
> make[2]: Entering directory `/home/claudio/sw/linuxsampler/defines'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/home/claudio/sw/linuxsampler/defines'
> make[1]: Leaving directory `/home/claudio/sw/linuxsampler/defines'
> Making all in drivers
> make[1]: Entering directory `/home/claudio/sw/linuxsampler/drivers'
> g++ -DPACKAGE=\"LinuxSampler\" -DVERSION=\"0.0.1\" -DHAVE_LIBASOUND=1
> -DSTDC_HEADERS=1 -I. -I. -DOSS_E
> ude -I/usr/include/sigc++-1.0 -I../defines -I../modules/mixer
> -I../modules/voice -c sound_driver.cpp
> In file included from ../modules/voice/voice.h:21,
> from ../modules/mixer/mixer_base.h:24,
> from sound_driver.h:22,
> from sound_driver.cpp:18:
> ../defines/typedefs.h:33: syntax error before `(' token
> ../defines/typedefs.h:36: `cacabuffer' was not declared in this scope
> ../defines/typedefs.h:36: `m_val' was not declared in this scope
> ../defines/typedefs.h:36: ISO C++ forbids declaration of `sprintf' with
> no type
> ../defines/typedefs.h:36: `int sprintf' redeclared as different kind of
> symbol
It seem you really messed it up. Remove the whole linuxsampler directory
and make a fresh new CVS checkout:
rm -r /home/claudio/sw/linuxsampler
mkdir /home/claudio/sw/linuxsampler
cd /home/claudio/sw/linuxsampler
cvs -d:pserver:ano...@cv...:/home/schropp/linuxsampler co linuxsampler
and then compile this way:
make -f Makefile.cvs && make
and finally to install it
make install
as usual.
CU
Christian
|