Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 16th, 2011  |  syntax: Bash  |  size: 9.45 KB  |  views: 122  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. MAKING... SRGP optimized (-O) library
  2. (cd src/srgp; make clean CFLAGS=-O)
  3. make[1]: Entering directory `/home/bt288/SRGP_DISTRIB/src/srgp'
  4. /bin/rm -f objects/srgp_attrib.o objects/srgp_canvas.o objects/srgp_color_X.o objects/srgp_cursor.o objects/srgp_echo_X.o objects/srgp_error.o objects/srgp_font.o objects/srgp_input.o objects/srgp_input_X.o objects/srgp_inquire.o objects/srgp_marker.o objects/srgp_output.o objects/srgp_pattern.o objects/srgp_raster.o objects/srgp_state.o objects/srgp_state_X.o objects/geom.o
  5. /bin/rm -f *~
  6. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_attrib.o srgp_attrib.c
  7. srgp_attrib.c: In function ‘SRGP_setAttributes’:
  8. srgp_attrib.c:687: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘struct attributeGroup *’
  9. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_canvas.o srgp_canvas.c
  10. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_color_X.o srgp_color_X.c
  11. srgp_color_X.c: In function ‘SRGP__initColor’:
  12. srgp_color_X.c:34: warning: incompatible implicit declaration of built-in function ‘exit’
  13. srgp_color_X.c: In function ‘SRGP_loadColorTable’:
  14. srgp_color_X.c:132: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘short unsigned int *’
  15. srgp_color_X.c:132: warning: format ‘%x’ expects type ‘unsigned int’, but argument 6 has type ‘short unsigned int *’
  16. srgp_color_X.c:132: warning: format ‘%x’ expects type ‘unsigned int’, but argument 7 has type ‘short unsigned int *’
  17. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_cursor.o srgp_cursor.c
  18. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_echo_X.o srgp_echo_X.c
  19. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_error.o srgp_error.c
  20. srgp_error.c: In function ‘SRGP__error’:
  21. srgp_error.c:123: warning: incompatible implicit declaration of built-in function ‘abort’
  22. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_font.o srgp_font.c
  23. srgp_font.c: In function ‘SRGP__initFont’:
  24. srgp_font.c:18: warning: incompatible implicit declaration of built-in function ‘exit’
  25. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_input.o srgp_input.c
  26. srgp_input.c: In function ‘SRGP_waitEvent’:
  27. srgp_input.c:158: warning: passing argument 2 of ‘gettimeofday’ from incompatible pointer type
  28. /usr/include/sys/time.h:73: note: expected ‘struct timezone * __restrict__’ but argument is of type ‘struct timeval *’
  29. srgp_input.c:188: warning: passing argument 2 of ‘gettimeofday’ from incompatible pointer type
  30. /usr/include/sys/time.h:73: note: expected ‘struct timezone * __restrict__’ but argument is of type ‘struct timeval *’
  31. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_input_X.o srgp_input_X.c
  32. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_inquire.o srgp_inquire.c
  33. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_marker.o srgp_marker.c
  34. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_output.o srgp_output.c
  35. srgp_output.c: In function ‘SRGP_polyPoint’:
  36. srgp_output.c:125: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘struct point *’
  37. srgp_output.c: In function ‘SRGP_polyPointCoord’:
  38. srgp_output.c:163: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘int *’
  39. srgp_output.c:163: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘int *’
  40. srgp_output.c: In function ‘SRGP_polyMarker’:
  41. srgp_output.c:274: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 4 has type ‘struct point *’
  42. srgp_output.c: In function ‘SRGP_polyMarkerCoord’:
  43. srgp_output.c:301: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 4 has type ‘int *’
  44. srgp_output.c:301: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘int *’
  45. srgp_output.c: In function ‘SRGP_polyLine’:
  46. srgp_output.c:592: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘struct point *’
  47. srgp_output.c: In function ‘SRGP_polyLineCoord’:
  48. srgp_output.c:627: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘int *’
  49. srgp_output.c:627: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘int *’
  50. srgp_output.c: In function ‘SRGP_polygon’:
  51. srgp_output.c:660: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘struct point *’
  52. srgp_output.c: In function ‘SRGP_polygonCoord’:
  53. srgp_output.c:679: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘int *’
  54. srgp_output.c:679: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘int *’
  55. srgp_output.c: In function ‘SRGP_fillPolygon’:
  56. srgp_output.c:775: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘struct point *’
  57. srgp_output.c: In function ‘SRGP_fillPolygonCoord’:
  58. srgp_output.c:827: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘int *’
  59. srgp_output.c:827: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘int *’
  60. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_pattern.o srgp_pattern.c
  61. srgp_pattern.c: In function ‘SRGP__initDefaultPatterns’:
  62. srgp_pattern.c:50: warning: assignment makes integer from pointer without a cast
  63. srgp_pattern.c:68: warning: assignment makes integer from pointer without a cast
  64. srgp_pattern.c: In function ‘SRGP_loadBitmapPattern’:
  65. srgp_pattern.c:109: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘char *’
  66. srgp_pattern.c:116: warning: comparison between pointer and integer
  67. srgp_pattern.c:122: warning: comparison between pointer and integer
  68. srgp_pattern.c: In function ‘SRGP_loadPixmapPattern’:
  69. srgp_pattern.c:165: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘int *’
  70. srgp_pattern.c:171: warning: comparison between pointer and integer
  71. srgp_pattern.c:176: warning: comparison between pointer and integer
  72. srgp_pattern.c: In function ‘SRGP_loadBitmapPatternsFromFile’:
  73. srgp_pattern.c:248: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘struct FILE *’
  74. srgp_pattern.c: In function ‘SRGP_loadPixmapPatternsFromFile’:
  75. srgp_pattern.c:331: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘struct FILE *’
  76. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_raster.o srgp_raster.c
  77. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_state.o srgp_state.c
  78. srgp_state.c: In function ‘SRGP_tracing’:
  79. srgp_state.c:33: warning: incompatible implicit declaration of built-in function ‘exit’
  80. srgp_state.c: In function ‘InitSRGP’:
  81. srgp_state.c:87: warning: assignment makes integer from pointer without a cast
  82. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/srgp_state_X.o srgp_state_X.c
  83. srgp_state_X.c: In function ‘SRGP__initGraphicsDevice’:
  84. srgp_state_X.c:38: warning: incompatible implicit declaration of built-in function ‘exit’
  85. gcc -fpcc-struct-return  -O -DUNIX -DX11 -c -o objects/geom.o geom.c
  86. echo objects/srgp_attrib.o objects/srgp_canvas.o objects/srgp_color_X.o objects/srgp_cursor.o objects/srgp_echo_X.o objects/srgp_error.o objects/srgp_font.o objects/srgp_input.o objects/srgp_input_X.o objects/srgp_inquire.o objects/srgp_marker.o objects/srgp_output.o objects/srgp_pattern.o objects/srgp_raster.o objects/srgp_state.o objects/srgp_state_X.o objects/geom.o
  87. objects/srgp_attrib.o objects/srgp_canvas.o objects/srgp_color_X.o objects/srgp_cursor.o objects/srgp_echo_X.o objects/srgp_error.o objects/srgp_font.o objects/srgp_input.o objects/srgp_input_X.o objects/srgp_inquire.o objects/srgp_marker.o objects/srgp_output.o objects/srgp_pattern.o objects/srgp_raster.o objects/srgp_state.o objects/srgp_state_X.o objects/geom.o
  88. ar rv libsrgp.a objects/srgp_attrib.o objects/srgp_canvas.o objects/srgp_color_X.o objects/srgp_cursor.o objects/srgp_echo_X.o objects/srgp_error.o objects/srgp_font.o objects/srgp_input.o objects/srgp_input_X.o objects/srgp_inquire.o objects/srgp_marker.o objects/srgp_output.o objects/srgp_pattern.o objects/srgp_raster.o objects/srgp_state.o objects/srgp_state_X.o objects/geom.o
  89. ar: creating libsrgp.a
  90. a - objects/srgp_attrib.o
  91. a - objects/srgp_canvas.o
  92. a - objects/srgp_color_X.o
  93. a - objects/srgp_cursor.o
  94. a - objects/srgp_echo_X.o
  95. a - objects/srgp_error.o
  96. a - objects/srgp_font.o
  97. a - objects/srgp_input.o
  98. a - objects/srgp_input_X.o
  99. a - objects/srgp_inquire.o
  100. a - objects/srgp_marker.o
  101. a - objects/srgp_output.o
  102. a - objects/srgp_pattern.o
  103. a - objects/srgp_raster.o
  104. a - objects/srgp_state.o
  105. a - objects/srgp_state_X.o
  106. a - objects/geom.o
  107. ranlib libsrgp.a
  108. mv libsrgp.a objects
  109. make[1]: Leaving directory `/home/bt288/SRGP_DISTRIB/src/srgp'
  110. MAKING... example programs
  111. (cd examples; make PROG=show_patterns)
  112. make[1]: Entering directory `/home/bt288/SRGP_DISTRIB/examples'
  113. gcc -fpcc-struct-return -I../include -g show_patterns.c -L../lib -lsrgp -lX11 -o show_patterns
  114. /usr/bin/ld: skipping incompatible ../lib/libsrgp.a when searching for -lsrgp
  115. /usr/bin/ld: cannot find -lsrgp
  116. collect2: ld returned 1 exit status
  117. make[1]: *** [show_patterns] Error 1
  118. make[1]: Leaving directory `/home/bt288/SRGP_DISTRIB/examples'
  119. make: *** [default] Error 2
clone this paste RAW Paste Data