| 1 | # Log file generated by
|
|---|
| 2 | #
|
|---|
| 3 | # './configure '
|
|---|
| 4 | #
|
|---|
| 5 |
|
|---|
| 6 | ***** Checking environment *****
|
|---|
| 7 | Determined build machine: linux.amd64, target machine: linux.amd64
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | ***** Checking kBuild *****
|
|---|
| 11 | found
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | ***** Checking gcc *****
|
|---|
| 15 | found version 4.1.3
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | ***** Checking as86 *****
|
|---|
| 19 | found version 0.16.14
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | ***** Checking bcc *****
|
|---|
| 23 | compiling the following source file:
|
|---|
| 24 | int foo(a)
|
|---|
| 25 | int a;
|
|---|
| 26 | {
|
|---|
| 27 | return 0;
|
|---|
| 28 | }
|
|---|
| 29 | using the following command line:
|
|---|
| 30 | bcc -B /usr/bin/ -C-c -3 -S -o .tmp_out .tmp_src.c
|
|---|
| 31 | found version 0.16.14
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | ***** Checking iasl *****
|
|---|
| 35 | found version 20061109
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | ***** Checking xslt *****
|
|---|
| 39 | found
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | ***** Checking pthread *****
|
|---|
| 43 | compiling the following source file:
|
|---|
| 44 | #include <cstdio>
|
|---|
| 45 | #include <pthread.h>
|
|---|
| 46 | extern "C" int main(void)
|
|---|
| 47 | {
|
|---|
| 48 | pthread_mutex_t mutex;
|
|---|
| 49 | if (pthread_mutex_init(&mutex, NULL)) {
|
|---|
| 50 | printf("pthread_mutex_init() failed\n");
|
|---|
| 51 | return 1;
|
|---|
| 52 | }
|
|---|
| 53 | if (pthread_mutex_lock(&mutex)) {
|
|---|
| 54 | printf("pthread_mutex_lock() failed\n");
|
|---|
| 55 | return 1;
|
|---|
| 56 | }
|
|---|
| 57 | if (pthread_mutex_unlock(&mutex)) {
|
|---|
| 58 | printf("pthread_mutex_unlock() failed\n");
|
|---|
| 59 | return 1;
|
|---|
| 60 | }
|
|---|
| 61 | printf("found, OK.\n");
|
|---|
| 62 | }
|
|---|
| 63 | using the following command line:
|
|---|
| 64 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-lpthread"
|
|---|
| 65 | executing the binary
|
|---|
| 66 | found, OK.
|
|---|
| 67 |
|
|---|
| 68 |
|
|---|
| 69 | ***** Checking libxml2 *****
|
|---|
| 70 | compiling the following source file:
|
|---|
| 71 | #include <cstdio>
|
|---|
| 72 | #include <libxml/xmlversion.h>
|
|---|
| 73 | extern "C" int main(void)
|
|---|
| 74 | {
|
|---|
| 75 | printf("found version %s", LIBXML_DOTTED_VERSION);
|
|---|
| 76 | #if LIBXML_VERSION >= 20626
|
|---|
| 77 | printf(", OK.\n");
|
|---|
| 78 | return 0;
|
|---|
| 79 | #else
|
|---|
| 80 | printf(", expected version 2.6.26 or higher\n");
|
|---|
| 81 | return 1;
|
|---|
| 82 | #endif
|
|---|
| 83 | }
|
|---|
| 84 | using the following command line:
|
|---|
| 85 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-lxml2 -lpthread -I/usr/include/libxml2"
|
|---|
| 86 | executing the binary
|
|---|
| 87 | found version 2.6.30, OK.
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|
| 90 | ***** Checking libxslt *****
|
|---|
| 91 | compiling the following source file:
|
|---|
| 92 | #include <cstdio>
|
|---|
| 93 | #include <libxslt/xsltconfig.h>
|
|---|
| 94 | extern "C" int main(void)
|
|---|
| 95 | {
|
|---|
| 96 | printf("found version %s", LIBXSLT_DOTTED_VERSION);
|
|---|
| 97 | #if LIBXSLT_VERSION >= 10117
|
|---|
| 98 | printf(", OK.\n");
|
|---|
| 99 | return 0;
|
|---|
| 100 | #else
|
|---|
| 101 | printf(", expected version 1.1.17 or higher\n");
|
|---|
| 102 | return 1;
|
|---|
| 103 | #endif
|
|---|
| 104 | }
|
|---|
| 105 | using the following command line:
|
|---|
| 106 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-lxslt -lxml2 -lpthread -I/usr/include/libxml2"
|
|---|
| 107 | executing the binary
|
|---|
| 108 | found version 1.1.21, OK.
|
|---|
| 109 |
|
|---|
| 110 |
|
|---|
| 111 | ***** Checking libIDL *****
|
|---|
| 112 | found version 0.8.9
|
|---|
| 113 |
|
|---|
| 114 |
|
|---|
| 115 | ***** Checking zlib *****
|
|---|
| 116 | compiling the following source file:
|
|---|
| 117 | #include <cstdio>
|
|---|
| 118 | #include <zlib.h>
|
|---|
| 119 | extern "C" int main(void)
|
|---|
| 120 | {
|
|---|
| 121 | printf("found version %s", ZLIB_VERSION);
|
|---|
| 122 | #if ZLIB_VERNUM >= 0x1210
|
|---|
| 123 | printf(", OK.\n");
|
|---|
| 124 | return 0;
|
|---|
| 125 | #else
|
|---|
| 126 | printf(", expected version 1.2.1 or higher\n");
|
|---|
| 127 | return 1;
|
|---|
| 128 | #endif
|
|---|
| 129 | }
|
|---|
| 130 | using the following command line:
|
|---|
| 131 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-lz "
|
|---|
| 132 | executing the binary
|
|---|
| 133 | found version 1.2.3.3, OK.
|
|---|
| 134 |
|
|---|
| 135 |
|
|---|
| 136 | ***** Checking libpng *****
|
|---|
| 137 | compiling the following source file:
|
|---|
| 138 | #include <cstdio>
|
|---|
| 139 | #include <png.h>
|
|---|
| 140 | extern "C" int main(void)
|
|---|
| 141 | {
|
|---|
| 142 | printf("found version %s", PNG_LIBPNG_VER_STRING);
|
|---|
| 143 | #if PNG_LIBPNG_VER >= 10205
|
|---|
| 144 | printf(", OK.\n");
|
|---|
| 145 | return 0;
|
|---|
| 146 | #else
|
|---|
| 147 | printf(", expected version 1.2.5 or higher\n");
|
|---|
| 148 | return 1;
|
|---|
| 149 | #endif
|
|---|
| 150 | }
|
|---|
| 151 | using the following command line:
|
|---|
| 152 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-lpng "
|
|---|
| 153 | executing the binary
|
|---|
| 154 | found version 1.2.15beta5, OK.
|
|---|
| 155 |
|
|---|
| 156 |
|
|---|
| 157 | ***** Checking SDL *****
|
|---|
| 158 | compiling the following source file:
|
|---|
| 159 | #include <cstdio>
|
|---|
| 160 | #include <SDL.h>
|
|---|
| 161 | #include <SDL_main.h>
|
|---|
| 162 | extern "C" int main(int argc, char** argv)
|
|---|
| 163 | {
|
|---|
| 164 | printf("found version %d.%d.%d",
|
|---|
| 165 | SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
|
|---|
| 166 | #if SDL_VERSION_ATLEAST(1,2,7)
|
|---|
| 167 | printf(", OK.\n");
|
|---|
| 168 | return 0;
|
|---|
| 169 | #else
|
|---|
| 170 | printf(", expected version 1.2.7 or higher\n");
|
|---|
| 171 | return 1;
|
|---|
| 172 | #endif
|
|---|
| 173 | }
|
|---|
| 174 | using the following command line:
|
|---|
| 175 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-L/usr/lib -lSDL -I/usr/include/SDL"
|
|---|
| 176 | executing the binary
|
|---|
| 177 | found version 1.2.11, OK.
|
|---|
| 178 |
|
|---|
| 179 |
|
|---|
| 180 | ***** Checking X libraries *****
|
|---|
| 181 | compiling the following source file:
|
|---|
| 182 | #include <cstdio>
|
|---|
| 183 | #include <X11/Xlib.h>
|
|---|
| 184 | extern "C" int main(void)
|
|---|
| 185 | {
|
|---|
| 186 | Display *dpy;
|
|---|
| 187 | int scrn_num;
|
|---|
| 188 | Screen *scrn;
|
|---|
| 189 | Window win;
|
|---|
| 190 |
|
|---|
| 191 | dpy = XOpenDisplay(NULL);
|
|---|
| 192 | scrn_num = DefaultScreen(dpy);
|
|---|
| 193 | scrn = ScreenOfDisplay(dpy, scrn_num);
|
|---|
| 194 | win = XCreateWindow(dpy, RootWindowOfScreen(scrn), 0, 0, 100, 100,
|
|---|
| 195 | 0, 16, InputOutput, CopyFromParent, 0, NULL);
|
|---|
| 196 | XDestroyWindow(dpy, win);
|
|---|
| 197 | }
|
|---|
| 198 | using the following command line:
|
|---|
| 199 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -I/usr/local/include"
|
|---|
| 200 | found
|
|---|
| 201 |
|
|---|
| 202 |
|
|---|
| 203 | ***** Checking Xcursor *****
|
|---|
| 204 | compiling the following source file:
|
|---|
| 205 | #include <cstdio>
|
|---|
| 206 | #include <X11/Xlib.h>
|
|---|
| 207 | #include <X11/Xcursor/Xcursor.h>
|
|---|
| 208 | extern "C" int main(void)
|
|---|
| 209 | {
|
|---|
| 210 | XcursorImage *cursor = XcursorImageCreate (10, 10);
|
|---|
| 211 | XcursorImageDestroy(cursor);
|
|---|
| 212 | return 0;
|
|---|
| 213 | }
|
|---|
| 214 | using the following command line:
|
|---|
| 215 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXcursor -I/usr/local/include"
|
|---|
| 216 | found
|
|---|
| 217 |
|
|---|
| 218 |
|
|---|
| 219 | ***** Checking Qt3 *****
|
|---|
| 220 | compiling the following source file:
|
|---|
| 221 | #include <cstdio>
|
|---|
| 222 | #include <qglobal.h>
|
|---|
| 223 | extern "C" int main(void)
|
|---|
| 224 | {
|
|---|
| 225 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 226 | #if QT_VERSION >= 0x030305
|
|---|
| 227 | printf(", OK.\n");
|
|---|
| 228 | return 0;
|
|---|
| 229 | #elif QT_VERSION >= 0x030300
|
|---|
| 230 | printf("\n ** WARNING: QT < 3.3.5 has known problems!\n");
|
|---|
| 231 | #else
|
|---|
| 232 | printf(", expected version 3.3.0 or higher\n");
|
|---|
| 233 | return 1;
|
|---|
| 234 | #endif
|
|---|
| 235 | }
|
|---|
| 236 | using the following command line:
|
|---|
| 237 | g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/qt/3/include -L/usr/qt/3/lib -lqt-mt -lpthread
|
|---|
| 238 | .tmp_src.cc:2:21: error: qglobal.h: No such file or directory
|
|---|
| 239 | .tmp_src.cc: In function 'int main()':
|
|---|
| 240 | .tmp_src.cc:5: error: 'QT_VERSION_STR' was not declared in this scope
|
|---|
| 241 | compiling the following source file:
|
|---|
| 242 | #include <cstdio>
|
|---|
| 243 | #include <qglobal.h>
|
|---|
| 244 | extern "C" int main(void)
|
|---|
| 245 | {
|
|---|
| 246 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 247 | #if QT_VERSION >= 0x030305
|
|---|
| 248 | printf(", OK.\n");
|
|---|
| 249 | return 0;
|
|---|
| 250 | #elif QT_VERSION >= 0x030300
|
|---|
| 251 | printf("\n ** WARNING: QT < 3.3.5 has known problems!\n");
|
|---|
| 252 | #else
|
|---|
| 253 | printf(", expected version 3.3.0 or higher\n");
|
|---|
| 254 | return 1;
|
|---|
| 255 | #endif
|
|---|
| 256 | }
|
|---|
| 257 | using the following command line:
|
|---|
| 258 | g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/qt/3/include -L/usr/qt/3/lib64 -lqt-mt -lpthread
|
|---|
| 259 | .tmp_src.cc:2:21: error: qglobal.h: No such file or directory
|
|---|
| 260 | .tmp_src.cc: In function 'int main()':
|
|---|
| 261 | .tmp_src.cc:5: error: 'QT_VERSION_STR' was not declared in this scope
|
|---|
| 262 | compiling the following source file:
|
|---|
| 263 | #include <cstdio>
|
|---|
| 264 | #include <qglobal.h>
|
|---|
| 265 | extern "C" int main(void)
|
|---|
| 266 | {
|
|---|
| 267 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 268 | #if QT_VERSION >= 0x030305
|
|---|
| 269 | printf(", OK.\n");
|
|---|
| 270 | return 0;
|
|---|
| 271 | #elif QT_VERSION >= 0x030300
|
|---|
| 272 | printf("\n ** WARNING: QT < 3.3.5 has known problems!\n");
|
|---|
| 273 | #else
|
|---|
| 274 | printf(", expected version 3.3.0 or higher\n");
|
|---|
| 275 | return 1;
|
|---|
| 276 | #endif
|
|---|
| 277 | }
|
|---|
| 278 | using the following command line:
|
|---|
| 279 | g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/lib/qt3/include -L/usr/lib/qt3/lib -lqt-mt -lpthread
|
|---|
| 280 | .tmp_src.cc:2:21: error: qglobal.h: No such file or directory
|
|---|
| 281 | .tmp_src.cc: In function 'int main()':
|
|---|
| 282 | .tmp_src.cc:5: error: 'QT_VERSION_STR' was not declared in this scope
|
|---|
| 283 | compiling the following source file:
|
|---|
| 284 | #include <cstdio>
|
|---|
| 285 | #include <qglobal.h>
|
|---|
| 286 | extern "C" int main(void)
|
|---|
| 287 | {
|
|---|
| 288 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 289 | #if QT_VERSION >= 0x030305
|
|---|
| 290 | printf(", OK.\n");
|
|---|
| 291 | return 0;
|
|---|
| 292 | #elif QT_VERSION >= 0x030300
|
|---|
| 293 | printf("\n ** WARNING: QT < 3.3.5 has known problems!\n");
|
|---|
| 294 | #else
|
|---|
| 295 | printf(", expected version 3.3.0 or higher\n");
|
|---|
| 296 | return 1;
|
|---|
| 297 | #endif
|
|---|
| 298 | }
|
|---|
| 299 | using the following command line:
|
|---|
| 300 | g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/lib/qt3/include -L/usr/lib/qt3/lib64 -lqt-mt -lpthread
|
|---|
| 301 | .tmp_src.cc:2:21: error: qglobal.h: No such file or directory
|
|---|
| 302 | .tmp_src.cc: In function 'int main()':
|
|---|
| 303 | .tmp_src.cc:5: error: 'QT_VERSION_STR' was not declared in this scope
|
|---|
| 304 | compiling the following source file:
|
|---|
| 305 | #include <cstdio>
|
|---|
| 306 | #include <qglobal.h>
|
|---|
| 307 | extern "C" int main(void)
|
|---|
| 308 | {
|
|---|
| 309 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 310 | #if QT_VERSION >= 0x030305
|
|---|
| 311 | printf(", OK.\n");
|
|---|
| 312 | return 0;
|
|---|
| 313 | #elif QT_VERSION >= 0x030300
|
|---|
| 314 | printf("\n ** WARNING: QT < 3.3.5 has known problems!\n");
|
|---|
| 315 | #else
|
|---|
| 316 | printf(", expected version 3.3.0 or higher\n");
|
|---|
| 317 | return 1;
|
|---|
| 318 | #endif
|
|---|
| 319 | }
|
|---|
| 320 | using the following command line:
|
|---|
| 321 | g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/lib/qt-3.3/include -L/usr/lib/qt-3.3/lib -lqt-mt -lpthread
|
|---|
| 322 | .tmp_src.cc:2:21: error: qglobal.h: No such file or directory
|
|---|
| 323 | .tmp_src.cc: In function 'int main()':
|
|---|
| 324 | .tmp_src.cc:5: error: 'QT_VERSION_STR' was not declared in this scope
|
|---|
| 325 | compiling the following source file:
|
|---|
| 326 | #include <cstdio>
|
|---|
| 327 | #include <qglobal.h>
|
|---|
| 328 | extern "C" int main(void)
|
|---|
| 329 | {
|
|---|
| 330 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 331 | #if QT_VERSION >= 0x030305
|
|---|
| 332 | printf(", OK.\n");
|
|---|
| 333 | return 0;
|
|---|
| 334 | #elif QT_VERSION >= 0x030300
|
|---|
| 335 | printf("\n ** WARNING: QT < 3.3.5 has known problems!\n");
|
|---|
| 336 | #else
|
|---|
| 337 | printf(", expected version 3.3.0 or higher\n");
|
|---|
| 338 | return 1;
|
|---|
| 339 | #endif
|
|---|
| 340 | }
|
|---|
| 341 | using the following command line:
|
|---|
| 342 | g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/lib/qt-3.3/include -L/usr/lib/qt-3.3/lib64 -lqt-mt -lpthread
|
|---|
| 343 | .tmp_src.cc:2:21: error: qglobal.h: No such file or directory
|
|---|
| 344 | .tmp_src.cc: In function 'int main()':
|
|---|
| 345 | .tmp_src.cc:5: error: 'QT_VERSION_STR' was not declared in this scope
|
|---|
| 346 | compiling the following source file:
|
|---|
| 347 | #include <cstdio>
|
|---|
| 348 | #include <qglobal.h>
|
|---|
| 349 | extern "C" int main(void)
|
|---|
| 350 | {
|
|---|
| 351 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 352 | #if QT_VERSION >= 0x030305
|
|---|
| 353 | printf(", OK.\n");
|
|---|
| 354 | return 0;
|
|---|
| 355 | #elif QT_VERSION >= 0x030300
|
|---|
| 356 | printf("\n ** WARNING: QT < 3.3.5 has known problems!\n");
|
|---|
| 357 | #else
|
|---|
| 358 | printf(", expected version 3.3.0 or higher\n");
|
|---|
| 359 | return 1;
|
|---|
| 360 | #endif
|
|---|
| 361 | }
|
|---|
| 362 | using the following command line:
|
|---|
| 363 | g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/share/qt3/include -L/usr/share/qt3/lib -lqt-mt -lpthread
|
|---|
| 364 | executing the binary
|
|---|
| 365 | found version 3.3.7, OK.
|
|---|
| 366 |
|
|---|
| 367 |
|
|---|
| 368 | ***** Checking Qt3 devtools *****
|
|---|
| 369 | found version 3.3.7
|
|---|
| 370 |
|
|---|
| 371 |
|
|---|
| 372 | ***** Checking Qt4 *****
|
|---|
| 373 | compiling the following source file:
|
|---|
| 374 | #include <cstdio>
|
|---|
| 375 | #include <Qt/qglobal.h>
|
|---|
| 376 | extern "C" int main(void)
|
|---|
| 377 | {
|
|---|
| 378 | printf("found version %s", QT_VERSION_STR);
|
|---|
| 379 | #if QT_VERSION >= 0x040200
|
|---|
| 380 | printf(", OK.\n");
|
|---|
| 381 | return 0;
|
|---|
| 382 | printf(", expected version 4.2.0 or higher\n");
|
|---|
| 383 | return 1;
|
|---|
| 384 | #endif
|
|---|
| 385 | }
|
|---|
| 386 | using the following command line:
|
|---|
| 387 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-pthread -L/usr/X11R6/lib -lQtGui -laudio -lXt -lpng -lSM -lICE -lQtCore -lz -lgthread-2.0 -lrt -lglib-2.0 -lpthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lm -ldl -lpthread -I/usr/include/qt4 -I/usr/include/qt4/QtGui"
|
|---|
| 388 | executing the binary
|
|---|
| 389 | found version 4.3.2, OK.
|
|---|
| 390 |
|
|---|
| 391 |
|
|---|
| 392 | ***** Checking Qt4 devtools *****
|
|---|
| 393 | found version 4.3.2
|
|---|
| 394 |
|
|---|
| 395 |
|
|---|
| 396 | ***** Checking Qt4 uic3 *****
|
|---|
| 397 | found version 4.3.2
|
|---|
| 398 |
|
|---|
| 399 |
|
|---|
| 400 | ***** Checking static stc++ library *****
|
|---|
| 401 | compiling the following source file:
|
|---|
| 402 | #include <string>
|
|---|
| 403 |
|
|---|
| 404 | extern "C" int main(void)
|
|---|
| 405 | {
|
|---|
| 406 | std::string s = "test";
|
|---|
| 407 | return 0;
|
|---|
| 408 | }
|
|---|
| 409 | using the following command line:
|
|---|
| 410 | g++ -O -Wall -o .tmp_out .tmp_src.cc "/usr/lib/gcc/x86_64-linux-gnu/4.1.3/libstdc++.a"
|
|---|
| 411 | found
|
|---|
| 412 |
|
|---|
| 413 |
|
|---|
| 414 | ***** Checking Linux kernel sources *****
|
|---|
| 415 | compiling the following source file:
|
|---|
| 416 | #include <linux/version.h>
|
|---|
| 417 | int printf(const char *format, ...);
|
|---|
| 418 | int main(void)
|
|---|
| 419 | {
|
|---|
| 420 | printf("found version %d.%d.%d", LINUX_VERSION_CODE / 65536,
|
|---|
| 421 | (LINUX_VERSION_CODE % 65536) / 256,
|
|---|
| 422 | LINUX_VERSION_CODE % 256);
|
|---|
| 423 | #if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,0)
|
|---|
| 424 | printf(", OK.\n");
|
|---|
| 425 | return 0;
|
|---|
| 426 | #else
|
|---|
| 427 | printf(", expected version 2.4.0 or higher\n");
|
|---|
| 428 | return 1;
|
|---|
| 429 | #endif
|
|---|
| 430 | }
|
|---|
| 431 | using the following command line:
|
|---|
| 432 | gcc -O -Wall -o .tmp_out .tmp_src.c -nostdinc -I/lib/modules/2.6.22-14-generic/build/include
|
|---|
| 433 | executing the binary
|
|---|
| 434 | found version 2.6.22, OK.
|
|---|
| 435 |
|
|---|
| 436 |
|
|---|
| 437 | ***** Checking ALSA *****
|
|---|
| 438 | compiling the following source file:
|
|---|
| 439 | #include <cstdio>
|
|---|
| 440 | #include <alsa/asoundlib.h>
|
|---|
| 441 | extern "C" int main(void)
|
|---|
| 442 | {
|
|---|
| 443 | printf("found version %d.%d.%d",
|
|---|
| 444 | SND_LIB_MAJOR, SND_LIB_MINOR, SND_LIB_SUBMINOR);
|
|---|
| 445 | #if 10000*SND_LIB_MAJOR + 100*SND_LIB_MINOR + SND_LIB_SUBMINOR >= 10006
|
|---|
| 446 | printf(", OK.\n");
|
|---|
| 447 | return 0;
|
|---|
| 448 | #else
|
|---|
| 449 | printf(", expected version 1.0.6 or higher\n");
|
|---|
| 450 | return 1;
|
|---|
| 451 | #endif
|
|---|
| 452 | }
|
|---|
| 453 | using the following command line:
|
|---|
| 454 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-lasound"
|
|---|
| 455 | executing the binary
|
|---|
| 456 | found version 1.0.14, OK.
|
|---|
| 457 |
|
|---|
| 458 |
|
|---|
| 459 | ***** Checking PulseAudio *****
|
|---|
| 460 | compiling the following source file:
|
|---|
| 461 | #include <cstdio>
|
|---|
| 462 | #include <pulse/version.h>
|
|---|
| 463 | extern "C" int main(void)
|
|---|
| 464 | {
|
|---|
| 465 | printf("found version %s API version %d", pa_get_headers_version(), PA_API_VERSION);
|
|---|
| 466 | #if PA_API_VERSION >= 9
|
|---|
| 467 | printf(", OK.\n");
|
|---|
| 468 | return 0;
|
|---|
| 469 | #else
|
|---|
| 470 | printf(", expected version 0.9.0 (API version 9) or higher\n");
|
|---|
| 471 | return 1;
|
|---|
| 472 | #endif
|
|---|
| 473 | }
|
|---|
| 474 | using the following command line:
|
|---|
| 475 | g++ -O -Wall -o .tmp_out .tmp_src.cc "-lpulse"
|
|---|
| 476 | executing the binary
|
|---|
| 477 | found version 0.9.6 API version 10, OK.
|
|---|
| 478 |
|
|---|
| 479 |
|
|---|
| 480 | ***** Checking compiler.h *****
|
|---|
| 481 | compiler.h not found
|
|---|
| 482 |
|
|---|
| 483 |
|
|---|
| 484 | ***** Checking 32-bit support *****
|
|---|
| 485 | compiling the following source file:
|
|---|
| 486 | #include <stdint.h>
|
|---|
| 487 | int main(void)
|
|---|
| 488 | {
|
|---|
| 489 | return 0;
|
|---|
| 490 | }
|
|---|
| 491 | using the following command line:
|
|---|
| 492 | gcc -m32 -O -Wall -o .tmp_out .tmp_src.c
|
|---|
| 493 |
|
|---|
| 494 |
|
|---|
| 495 |
|
|---|