[vbox-dev] VirtualBox compilation troubles
Alexey Eremenko
al4321 at gmail.com
Wed Apr 21 10:09:23 PDT 2010
problem #1
I have attached configure.log as per Frank's request.
--
-Alexey Eromenko "Technologov"
-------------- next part --------------
# Log file generated by
#
# './configure '
#
***** Checking environment *****
Determined build machine: linux.amd64, target machine: linux.amd64
***** Checking kBuild *****
found
***** Checking gcc *****
found version 4.4.1
***** Checking as86 *****
found version 0.16.17
***** Checking bcc *****
compiling the following source file:
int foo(a)
int a;
{
return 0;
}
using the following command line:
bcc -B /usr/bin/ -C-c -3 -S -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.c
found version 0.16.17
***** Checking iasl *****
found version 20090422
***** Checking xslt *****
found
***** Checking pthread *****
compiling the following source file:
#include <cstdio>
#include <pthread.h>
extern "C" int main(void)
{
pthread_mutex_t mutex;
if (pthread_mutex_init(&mutex, NULL)) {
printf("pthread_mutex_init() failed\n");
return 1;
}
if (pthread_mutex_lock(&mutex)) {
printf("pthread_mutex_lock() failed\n");
return 1;
}
if (pthread_mutex_unlock(&mutex)) {
printf("pthread_mutex_unlock() failed\n");
return 1;
}
printf("found, OK.\n");
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-lpthread"
executing the binary
found, OK.
***** Checking libxml2 *****
compiling the following source file:
#include <cstdio>
#include <libxml/xmlversion.h>
extern "C" int main(void)
{
printf("found version %s", LIBXML_DOTTED_VERSION);
#if LIBXML_VERSION >= 20626
printf(", OK.\n");
return 0;
#else
printf(", expected version 2.6.26 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-lxml2 -lpthread -I/usr/include/libxml2"
executing the binary
found version 2.7.6, OK.
***** Checking libxslt *****
compiling the following source file:
#include <cstdio>
#include <libxslt/xsltconfig.h>
extern "C" int main(void)
{
printf("found version %s", LIBXSLT_DOTTED_VERSION);
#if LIBXSLT_VERSION >= 10117
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.1.17 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-lxslt -lz -lm -lxml2 -lpthread -I/usr/include/libxml2"
executing the binary
found version 1.1.26, OK.
***** Checking libIDL *****
found version 0.8.13
***** Checking ssl *****
compiling the following source file:
#include <cstdio>
#include <openssl/opensslv.h>
extern "C" int main(void)
{
printf("found version %s", OPENSSL_VERSION_TEXT);
#if OPENSSL_VERSION_NUMBER >= 0x00908000
printf(", OK.\n");
return 0;
#else
printf(", expected version 0.9.8 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc " -lcrypto"
executing the binary
found version OpenSSL 0.9.8k 25 Mar 2009, OK.
***** Checking libcurl *****
compiling the following source file:
#include <cstdio>
#include <curl/curl.h>
extern "C" int main(void)
{
printf("found version %s", LIBCURL_VERSION);
#if 10000*LIBCURL_VERSION_MAJOR + 100*LIBCURL_VERSION_MINOR + LIBCURL_VERSION_PATCH >= 71601
printf(", OK.\n");
return 0;
#else
printf(", expected version 7.16.1 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-lcurl "
executing the binary
found version 7.19.6, OK.
***** Checking zlib *****
compiling the following source file:
#include <cstdio>
#include <zlib.h>
extern "C" int main(void)
{
printf("found version %s", ZLIB_VERSION);
#if ZLIB_VERNUM >= 0x1210
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.2.1 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-lz "
executing the binary
found version 1.2.3, OK.
***** Checking libpng *****
compiling the following source file:
#include <cstdio>
#include <png.h>
extern "C" int main(void)
{
printf("found version %s", PNG_LIBPNG_VER_STRING);
#if PNG_LIBPNG_VER >= 10205
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.2.5 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-lpng "
executing the binary
found version 1.2.40, OK.
***** Checking SDL *****
compiling the following source file:
#include <cstdio>
#include <SDL.h>
#include <SDL_main.h>
#undef main
extern "C" int main(int argc, char** argv)
{
printf("found version %d.%d.%d",
SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.2.7 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-L/usr/lib64 -lSDL -I/usr/include/SDL "
executing the binary
found version 1.2.13, OK.
***** Checking X libraries *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
extern "C" int main(void)
{
Display *dpy;
int scrn_num;
Screen *scrn;
Window win;
dpy = XOpenDisplay(NULL);
scrn_num = DefaultScreen(dpy);
scrn = ScreenOfDisplay(dpy, scrn_num);
win = XCreateWindow(dpy, RootWindowOfScreen(scrn), 0, 0, 100, 100,
0, 16, InputOutput, CopyFromParent, 0, NULL);
XDestroyWindow(dpy, win);
XCloseDisplay(dpy);
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -I/usr/local/include"
found
***** Checking Xcursor *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
extern "C" int main(void)
{
XcursorImage *cursor = XcursorImageCreate (10, 10);
XcursorImageDestroy(cursor);
return 0;
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXcursor -I/usr/local/include"
found
***** Checking Xinerama *****
compiling the following source file:
#include <X11/Xlib.h>
#include <X11/extensions/Xinerama.h>
extern "C" int main(void)
{
Display *dpy;
Bool flag;
dpy = XOpenDisplay(NULL);
if (dpy)
{
flag = XineramaIsActive(dpy);
XCloseDisplay(dpy);
}
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXinerama -I/usr/local/include"
found
***** Checking Xrandr *****
compiling the following source file:
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
extern "C" int main(void)
{
Display *dpy;
Bool flag;
int major, minor;
dpy = XOpenDisplay(NULL);
if (dpy)
{
flag = XRRQueryVersion(dpy, &major, &minor);
XCloseDisplay(dpy);
}
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXrandr -I/usr/local/include"
found
***** Checking Xmu *****
compiling the following source file:
#include <cstdio>
#include <X11/Xatom.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xmu/StdCmap.h>
extern "C" int main(void)
{
Display *dpy;
int scrn_num;
Screen *scrn;
dpy = XOpenDisplay(NULL);
if (dpy)
{
scrn_num = DefaultScreen(dpy);
scrn = ScreenOfDisplay(dpy, scrn_num);
Status status = XmuLookupStandardColormap(dpy, RootWindowOfScreen(scrn), 0,
24, XA_RGB_DEFAULT_MAP, False, True);
printf("Status = %x\n", status);
XCloseDisplay(dpy);
}
return 0;
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXmu -I/usr/local/include"
found
***** Checking Mesa / GLU *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <GL/glu.h>
extern "C" int main(void)
{
Display *dpy;
int major, minor;
dpy = XOpenDisplay(NULL);
if (dpy)
{
if (glXQueryVersion(dpy, &major, &minor))
{
printf("found version %u.%u, OK.\n", major, minor);
return 0;
}
XCloseDisplay(dpy);
}
printf("found (inactive), OK.\n");
return 0;
}
using the following command line:
g++ -g -O -Wall -o /home/alexey/vbox/.tmp_out /home/alexey/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lGL -I/usr/local/include"
/home/alexey/vbox/.tmp_src.cc:3:20: error: GL/glx.h: No such file or directory
/home/alexey/vbox/.tmp_src.cc:4:20: error: GL/glu.h: No such file or directory
/home/alexey/vbox/.tmp_src.cc: In function 'int main()':
/home/alexey/vbox/.tmp_src.cc:13: error: 'glXQueryVersion' was not declared in this scope
More information about the vbox-dev
mailing list