Build problem, rev. 11001

View: New views
5 Messages — Rating Filter:   Alert me  

Build problem, rev. 11001

by Vladimir Savic-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any idea what could possibly trigger this error? What I've done: make
distclean, sh bootstrap.sh, ./configure --with-some-parameters and make.

g++  -c -I/usr//include/qt4/Qt3Support -I/usr//include/qt4/QtGui
-I/usr//include/qt4/QtXml -I/usr//include/qt4/QtNetwork
-I/usr//include/qt4/QtCore -I/usr//include/qt4 -DQT3_SUPPORT
-DLITTLE_ENDIAN=1 -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -g0 -O0
data/data.cpp -o data/data.o
g++  -c -DDEBUG -DBUILD_DEBUG -DWANT_TIMING -Wall -Woverloaded-virtual
-Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum
-O0 -g -pipe -DHAVE_LIBJACK -I/usr//include/qt4/Qt3Support
-I/usr//include/qt4/QtGui -I/usr//include/qt4/QtXml
-I/usr//include/qt4/QtNetwork -I/usr//include/qt4/QtCore
-I/usr//include/qt4 -DQT3_SUPPORT @ALSA_CFLAGS@ -DLITTLE_ENDIAN=1
-D'VERSION="10.02"' -D'CODENAME="Thorn"' -Isrc -D'BUILDKEY="8c2186f37d"'
src/base/AudioDevice.cpp -o src/base/AudioDevice.o
g++: @ALSA_CFLAGS@: No such file or directory
make: *** [src/base/AudioDevice.o] Error 1

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Re: Build problem, rev. 11001

by D. Michael McIntyre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sunday 04 October 2009, Vladimir Savic wrote:

> Any idea what could possibly trigger this error? What I've done: make
> distclean, sh bootstrap.sh, ./configure --with-some-parameters and make.

What it means is that @ALSA_CFLAGS@ didn't get replaced correctly.  I would
have expected something to break before you could make it that far, so that's
not a good sign.  Especially since you already started with a distclean.

Do you have libasound-dev or your distro's equivalent installed?
--
D. Michael McIntyre

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Re: Build problem, rev. 11001

by D. Michael McIntyre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sunday 04 October 2009, D. Michael McIntyre wrote:

> Do you have libasound-dev or your distro's equivalent installed?

Nevermind.

WTF?

-PKG_CHECK_MODULES([ALSA],[alsa >= 0.9],[HAVES="$HAVES -DHAVE_ALSA"],[])
+#PKG_CHECK_MODULES([ALSA],[alsa >= 0.9],[HAVES="$HAVES -DHAVE_ALSA"],[])

I reverted that change and made it through some chunk of the build that time,
before grinding to a halt elsewhere.

I'll see if I can sort it out and commit the fix, since presumably this
compiled where Chris was, and he won't readily be able to spot why it's
breaking for us.
--
D. Michael McIntyre

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Re: Build problem, rev. 11001

by cannam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 5, 2009 at 2:52 AM, D. Michael McIntyre
<michael.mcintyre@...> wrote:
> I'll see if I can sort it out and commit the fix, since presumably this
> compiled where Chris was, and he won't readily be able to spot why it's
> breaking for us.

I really bungled that commit, didn't I?  Sorry about that.  Thanks for
looking at it; I've committed another reversion as well.

Of course I also forgot to notify the list of the new dependencies,
libsndfile and libsamplerate.  Sorry about that.  There are new
dependencies, libsndfile and libsamplerate...


Chris

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Re: Build problem, rev. 11001

by Vladimir Savic-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you both guys.

Now I have std library scope problem.

g++  -c -DDEBUG -DBUILD_DEBUG -DWANT_TIMING -Wall -Woverloaded-virtual
-Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum
-O0 -g -pipe -DHAVE_LIRC -DHAVE_LIBJACK -DHAVE_ALSA -DHAVE_LIBSNDFILE
-I/usr//include/qt4/Qt3Support -I/usr//include/qt4/QtGui
-I/usr//include/qt4/QtXml -I/usr//include/qt4/QtNetwork
-I/usr//include/qt4/QtCore -I/usr//include/qt4 -DQT3_SUPPORT
-I/usr/include/alsa -DLITTLE_ENDIAN=1 -D'VERSION="10.02"'
-D'CODENAME="Thorn"' -Isrc -D'BUILDKEY="096643decf"'
src/base/Profiler.cpp -o src/base/Profiler.o
src/base/Profiler.cpp: In member function 'void
Rosegarden::Profiles::dump() const':
src/base/Profiler.cpp:81: error: 'stderr' was not declared in this scope
src/base/Profiler.cpp:81: error: 'fprintf' was not declared in this scope

Vlada


Chris Cannam wrote:

> On Mon, Oct 5, 2009 at 2:52 AM, D. Michael McIntyre
> <michael.mcintyre@...> wrote:
>> I'll see if I can sort it out and commit the fix, since presumably this
>> compiled where Chris was, and he won't readily be able to spot why it's
>> breaking for us.
>
> I really bungled that commit, didn't I?  Sorry about that.  Thanks for
> looking at it; I've committed another reversion as well.
>
> Of course I also forgot to notify the list of the new dependencies,
> libsndfile and libsamplerate.  Sorry about that.  There are new
> dependencies, libsndfile and libsamplerate...
>
>
> Chris


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel