Skip to content

Instantly share code, notes, and snippets.

@madebyjeffrey
Created January 20, 2012 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madebyjeffrey/1649773 to your computer and use it in GitHub Desktop.
Save madebyjeffrey/1649773 to your computer and use it in GitHub Desktop.
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/arm" "infodir=/opt/arm/share/info" "libdir=/opt/arm/lib" "prefix=/opt/arm" "includedir=/opt/arm/include" "AR=/opt/arm/arm-none-eabi/bin/ar" "AS=/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/as" "CC=/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/xgcc -B/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/ -B/opt/arm/arm-none-eabi/bin/ -B/opt/arm/arm-none-eabi/lib/ -isystem /opt/arm/arm-none-eabi/include -isystem /opt/arm/arm-none-eabi/sys-include " "CXX=arm-none-eabi-c++ -B/opt/arm/arm-none-eabi/bin/ -B/opt/arm/arm-none-eabi/lib/ -isystem /opt/arm/arm-none-eabi/include -isystem /opt/arm/arm-none-eabi/sys-include " "LD=/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/collect-ld" "LIBCFLAGS=-g -O2" "NM=/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/nm" "PICFLAG=" "RANLIB=/opt/arm/arm-none-eabi/bin/ranlib" "DESTDIR=" all-am
/bin/sh ./libtool --tag=CC --mode=compile /Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/xgcc -B/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/ -B/opt/arm/arm-none-eabi/bin/ -B/opt/arm/arm-none-eabi/lib/ -isystem /opt/arm/arm-none-eabi/include -isystem /opt/arm/arm-none-eabi/sys-include -DHAVE_CONFIG_H -I. -I../../../libssp -Wall -g -O2 -MT ssp.lo -MD -MP -MF .deps/ssp.Tpo -c -o ssp.lo ../../../libssp/ssp.c
libtool: compile: /Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/xgcc -B/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/ -B/opt/arm/arm-none-eabi/bin/ -B/opt/arm/arm-none-eabi/lib/ -isystem /opt/arm/arm-none-eabi/include -isystem /opt/arm/arm-none-eabi/sys-include -DHAVE_CONFIG_H -I. -I../../../libssp -Wall -g -O2 -MT ssp.lo -MD -MP -MF .deps/ssp.Tpo -c ../../../libssp/ssp.c -o ssp.o
../../../libssp/ssp.c: In function ‘__guard_setup’:
../../../libssp/ssp.c:78:3: warning: implicit declaration of function ‘open’ [-Wimplicit-function-declaration]
../../../libssp/ssp.c:78:30: error: ‘O_RDONLY’ undeclared (first use in this function)
../../../libssp/ssp.c:78:30: note: each undeclared identifier is reported only once for each function it appears in
../../../libssp/ssp.c:81:7: error: unknown type name ‘ssize_t’
../../../libssp/ssp.c:81:7: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
../../../libssp/ssp.c:83:7: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
../../../libssp/ssp.c: At top level:
../../../libssp/ssp.c:97:25: error: unknown type name ‘size_t’
../../../libssp/ssp.c: In function ‘__stack_chk_fail’:
../../../libssp/ssp.c:169:3: warning: implicit declaration of function ‘fail’ [-Wimplicit-function-declaration]
../../../libssp/ssp.c:169:3: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
../../../libssp/ssp.c:169:14: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
../../../libssp/ssp.c: In function ‘__chk_fail’:
../../../libssp/ssp.c:176:14: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
make[3]: *** [ssp.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libssp] Error 2
make: *** [all] Error 2
@lheckemann
Copy link

(Here's hoping you get notified of this comment)

Did you ever resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment