Closed
Bug 808551
Opened 12 years ago
Closed 12 years ago
B2g build for emulator-x86 fails in sdk/emulator/opengl/host/tools/emugen/main.cpp
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 788834
People
(Reporter: stack, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20100101 Firefox/16.0 Iceweasel/16.0.2 Build ID: 20121026223737 Steps to reproduce: Building B2G for emulator-x86 fails in that file sdk/emulator/opengl/host/tools/emugen/main.cpp due to an error Actual results: The error is: host C++: emugen <= sdk/emulator/opengl/host/tools/emugen/main.cpp sdk/emulator/opengl/host/tools/emugen/main.cpp: In function ‘int main(int, char**)’: sdk/emulator/opengl/host/tools/emugen/main.cpp:49:47: error: ‘getopt’ was not declared in this scope sdk/emulator/opengl/host/tools/emugen/main.cpp:52:38: error: ‘optarg’ was not declared in this scope sdk/emulator/opengl/host/tools/emugen/main.cpp:79:9: error: ‘optind’ was not declared in this scope sdk/emulator/opengl/host/tools/emugen/main.cpp:92:45: error: ‘optind’ was not declared in this scope make: *** [out/host/linux-x86/obj/EXECUTABLES/emugen_intermediates/main.o] Error 1 probably the error is due to a missing #include <unistd.h> in that file
I should add that the repo checked out in sdk/ is at this commit 0d8f973905a4925e00eb9e32887c192b2148b29f thanks.
Comment 2•12 years ago
|
||
This bug is a duplicate of bug 788834 for which we already have a proposed patch; you can try to apply it and see if it works for you.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•