Closed Bug 809766 Opened 8 years ago Closed 8 years ago

libsoundtouch doesn't build

Categories

(Core :: Audio/Video, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: longsonr, Assigned: longsonr)

References

Details

Attachments

(1 file)

Creating Resource file: /c/moz2/mozilla-inbound/media/libsoundtouch/src/soundtouch.res
rc.exe  -r -DST_NO_EXCEPTION_HANDLING=1 -DNO_NSPR_10_SUPPORT  -I/c/moz2/mozilla-inbound/media/libsoundtouch/src -I. -I../../../dist/include  -Ic:/moz2/mozilla-inbound/obj-i686-pc-mingw32/dist/include/nspr -Ic:/moz2/mozilla-inbound/obj-i686-pc-mingw32/dist/include/nss     -Fo/c/moz2/mozilla-inbound/media/libsoundtouch/src/soundtouch.res /c/moz2/mozilla-inbound/media/libsoundtouch/src/soundtouch.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation.  All rights reserved.

fatal error RC1109: error creating /c/moz2/mozilla-inbound/media/libsoundtouch/src/soundtouch.res
make[1]: *** [/c/moz2/mozilla-inbound/media/libsoundtouch/src/soundtouch.res] Error 1
make[1]: Leaving directory `/c/moz2/mozilla-inbound/obj-i686-pc-mingw32/media/libsoundtouch/src'
make: *** [default] Error 2
Attached patch patchSplinter Review
FWIW

http://mxr.mozilla.org/mozilla-central/source/db/sqlite3/src/Makefile.in#20

Doesn't have paths.
Assignee: nobody → longsonr
Attachment #679568 - Flags: review?(khuey)
I run into the same problem. Could you please fix it asap?
Blocks: 809833
Flags: in-testsuite-
Does this need a clobber? It's burning inbound right now, with "LINK : fatal error LNK1181: cannot open input file 'soundtouch.res' "
(philor clobbered; hopefully that fixes the build bustage)
https://hg.mozilla.org/mozilla-central/rev/e72ab5e449c4
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
I'm on OS X 10.6.8, I just pulled in this changeset, deleted my objdir, and rebuilt, but I'm getting the following build error:

/usr/local/bin//clang++ -o FIRFilter.o -c   -DST_NO_EXCEPTION_HANDLING=1 -DNO_NSPR_10_SUPPORT  -I/Users/mdas/Code/mozilla-central/media/libsoundtouch/src -I. -I../../../dist/include  -I/Users/mdas/Code/obj-ff/dist/include/nspr -I/Users/mdas/Code/obj-ff/dist/include/nss      -fPIC -Qunused-arguments  -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wno-c++0x-extensions -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -DNO_X11 -pipe  -DDEBUG -D_DEBUG -DTRACING -g -fno-omit-frame-pointer   -Qunused-arguments  -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MF .deps/FIRFilter.o.pp  /Users/mdas/Code/mozilla-central/media/libsoundtouch/src/FIRFilter.cpp
RateTransposer.cpp
/Users/mdas/Code/mozilla-central/media/libsoundtouch/src/cpu_detect_x86.cpp:48:18: fatal error: 'cpuid.h' file not found
        #include "cpuid.h"
                 ^
1 error generated.
make[6]: *** [cpu_detect_x86.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [libs] Error 2
make[4]: *** [libs_tier_platform] Error 2
make[3]: *** [tier_platform] Error 2
make[2]: *** [default] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2

I'm building with clang 3.0. What would I be missing?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is also failing in the same way on Thunderbird, Mac OS 10.7.2, Apple clang version 3.1
You have a different bug. This is for Windows and is about failures compiling the rc file into a res file.
WFM:
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0 SeaMonkey/2.16a1
Build identifier: 20121110193239
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
In case anyone else stumbles across this bug looking for the "fatal error: 'cpuid.h' file not found" error, the problem appears to be that I didn't have the xcode command line tools installed. Going to Xcode preferences, 'Downloads' tab, and installing "Command Line Tools" resolved the problem.
I filed bug 812667 on the cpuid.h thing.
You need to log in before you can comment on or make changes to this bug.