Skip to content

Instantly share code, notes, and snippets.

@moretea
Created November 19, 2013 09:03
Show Gist options
  • Select an option

  • Save moretea/7542413 to your computer and use it in GitHub Desktop.

Select an option

Save moretea/7542413 to your computer and use it in GitHub Desktop.
auch
maarten@maarten-laptop:~/vu/ms/pcs/heat/omp$ make heat_test
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./../src -DTESTS_ENABLED -g3 -O0 -g -O2 -Wall -fopenmp -MT heat_test-heat_test.o -MD -MP -MF .deps/heat_test-heat_test.Tpo -c -o heat_test-heat_test.o `test -f 'heat_test.c' || echo './'`heat_test.c
heat_test.c: In function ‘test_self_weight_simple’:
heat_test.c:185:18: warning: assignment from incompatible pointer type [enabled by default]
heat_test.c:190:3: warning: passing argument 1 of ‘free’ discards ‘volatile’ qualifier from pointer target type [enabled by default]
/usr/include/stdlib.h:488:13: note: expected ‘void *’ but argument is of type ‘volatile double * volatile’
heat_test.c:191:3: warning: passing argument 1 of ‘free’ discards ‘volatile’ qualifier from pointer target type [enabled by default]
/usr/include/stdlib.h:488:13: note: expected ‘void *’ but argument is of type ‘volatile double * volatile’
heat_test.c:176:16: warning: unused variable ‘expect’ [-Wunused-variable]
mv -f .deps/heat_test-heat_test.Tpo .deps/heat_test-heat_test.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./../src -DTESTS_ENABLED -g3 -O0 -g -O2 -Wall -fopenmp -MT heat_test-compute.o -MD -MP -MF .deps/heat_test-compute.Tpo -c -o heat_test-compute.o `test -f 'compute.c' || echo './'`compute.c
compute.c: In function ‘do_compute’:
compute.c:202:13: warning: assignment from incompatible pointer type [enabled by default]
compute.c:203:13: warning: assignment from incompatible pointer type [enabled by default]
mv -f .deps/heat_test-compute.Tpo .deps/heat_test-compute.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./../src -g -O2 -Wall -fopenmp -MT fail.o -MD -MP -MF .deps/fail.Tpo -c -o fail.o `test -f './../src/fail.c' || echo './'`./../src/fail.c
mv -f .deps/fail.Tpo .deps/fail.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./../src -g -O2 -Wall -fopenmp -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o `test -f './../src/input.c' || echo './'`./../src/input.c
In file included from /usr/include/stdio.h:934:0,
from ./../src/input.c:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function ‘readpgm_float’:
./../src/input.c:51:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/input.Tpo .deps/input.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./../src -g -O2 -Wall -fopenmp -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o `test -f './../src/output.c' || echo './'`./../src/output.c
mv -f .deps/output.Tpo .deps/output.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./../src -g -O2 -Wall -fopenmp -MT img.o -MD -MP -MF .deps/img.Tpo -c -o img.o `test -f './../src/img.c' || echo './'`./../src/img.c
./../src/img.c: In function ‘begin_picture’:
./../src/img.c:16:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
./../src/img.c:16:5: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
mv -f .deps/img.Tpo .deps/img.Po
rm -f libcommon.a
ar cru libcommon.a fail.o input.o output.o img.o
ranlib libcommon.a
gcc -std=gnu99 -DTESTS_ENABLED -g3 -O0 -g -O2 -Wall -fopenmp -o heat_test heat_test-heat_test.o heat_test-compute.o libcommon.a -lm -lrt -lgcov
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 10
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 10
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 20 has invalid symbol index 19
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [heat_test] Error 1
maarten@maarten-laptop:~/vu/ms/pcs/heat/omp$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment