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