Skip to content

Instantly share code, notes, and snippets.

@mdeguzis
Created December 3, 2015 03:16
Show Gist options
  • Save mdeguzis/dd46ff6d80909425527a to your computer and use it in GitHub Desktop.
Save mdeguzis/dd46ff6d80909425527a to your computer and use it in GitHub Desktop.
/home/desktop/build-libretro-mgba-temp/libretro-mgba/src/gba/context/config.c:232:50: error: ‘binaryName’ undeclared (first use in this function)
snprintf(out, outLength, "%s/.config/%s", home, binaryName);
^
/home/desktop/build-libretro-mgba-temp/libretro-mgba/src/gba/context/config.c:232:50: note: each undeclared identifier is reported only once for each function it appears in
/home/desktop/build-libretro-mgba-temp/libretro-mgba/src/gba/context/config.c: In function ‘GBAConfigMakePortable’:
/home/desktop/build-libretro-mgba-temp/libretro-mgba/src/gba/context/config.c:176:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(out, PATH_MAX);
^
/home/desktop/build-libretro-mgba-temp/libretro-mgba/src/gba/context/config.c: In function ‘GBAConfigDirectory’:
/home/desktop/build-libretro-mgba-temp/libretro-mgba/src/gba/context/config.c:220:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(out, outLength);
^
/home/desktop/build-libretro-mgba-temp/libretro-mgba/src/gba/context/config.c:224:3: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(out, outLength);
^
CMakeFiles/mgba.dir/build.make:632: recipe for target 'CMakeFiles/mgba.dir/src/gba/context/config.c.o' failed
make[3]: *** [CMakeFiles/mgba.dir/src/gba/context/config.c.o] Error 1
make[3]: Leaving directory '/home/desktop/build-libretro-mgba-temp/libretro-mgba/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:65: recipe for target 'CMakeFiles/mgba.dir/all' failed
make[2]: *** [CMakeFiles/mgba.dir/all] Error 2
make[2]: Leaving directory '/home/desktop/build-libretro-mgba-temp/libretro-mgba/obj-x86_64-linux-gnu'
Makefile:140: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/desktop/build-libretro-mgba-temp/libretro-mgba/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
debian/rules:12: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment