Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 60173 Details for
Bug 94353
zsnes 1.36 cannot find SDL
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
config.log
config.log (text/plain), 3.60 KB, created by
Julien Gage
on 2005-05-30 01:56:11 UTC
(
hide
)
Description:
config.log
Filename:
MIME Type:
Creator:
Julien Gage
Created:
2005-05-30 01:56:11 UTC
Size:
3.60 KB
patch
obsolete
>This file contains any messages produced by compilers while >running configure, to aid debugging if configure makes a mistake. > >configure:544: checking for gcc >configure:657: checking whether the C compiler (gcc -pipe -I. -Wall ) works >configure:673: gcc -o conftest -pipe -I. -Wall conftest.c 1>&5 >configure:670: warning: return type defaults to `int' >configure:699: checking whether the C compiler (gcc -pipe -I. -Wall ) is a cross-compiler >configure:704: checking whether we are using GNU C >configure:713: gcc -E conftest.c >configure:732: checking whether gcc accepts -g >configure:766: checking for nasm >configure:831: checking for a BSD compatible install >configure:911: checking host system type >configure:932: checking target system type >configure:950: checking build system type >configure:997: checking how to run the C preprocessor >configure:1018: gcc -E conftest.c >/dev/null 2>conftest.out >configure:1081: checking for X >configure:1148: gcc -E conftest.c >/dev/null 2>conftest.out >configure:1224: gcc -o conftest -pipe -I. -Wall -D__LINUX__ conftest.c -lXt 1>&5 >configure: In function `main': >configure:1220: warning: implicit declaration of function `XtMalloc' >configure:1357: checking for sdl-config >configure:1392: checking for SDL - version >= 1.2.0 >configure:1477: gcc -o conftest -pipe -I. -Wall -D__LINUX__ -I -I/usr/include/SDL -D_REENTRANT -L conftest.c -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5 >/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crt1.o: In function `_start': >init.c:(.text+0x18): undefined reference to `main' >collect2: ld returned 1 exit status >configure: failed program was: >#line 1416 "configure" >#include "confdefs.h" > >#include <stdio.h> >#include <stdlib.h> >#include <string.h> >#include "SDL.h" > >char* >my_strdup (char *str) >{ > char *new_str; > > if (str) > { > new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); > strcpy (new_str, str); > } > else > new_str = NULL; > > return new_str; >} > >int main (int argc, char *argv[]) >{ > int major, minor, micro; > char *tmp_version; > > /* This hangs on some systems (?) > system ("touch conf.sdltest"); > */ > { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } > > /* HP/UX 9 (%@#!) writes to sscanf strings */ > tmp_version = my_strdup("1.2.0"); > if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { > printf("%s, bad version string\n", "1.2.0"); > exit(1); > } > > if ((1 > major) || > ((1 == major) && (2 > minor)) || > ((1 == major) && (2 == minor) && (8 >= micro))) > { > return 0; > } > else > { > printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", 1, 2, 8); > printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); > printf("*** best to upgrade to the required version.\n"); > printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); > printf("*** to point to the correct copy of sdl-config, and remove the file\n"); > printf("*** config.cache before re-running configure\n"); > return 1; > } >} > > >configure:1526: gcc -o conftest -pipe -I. -Wall -D__LINUX__ -I -I/usr/include/SDL -D_REENTRANT -L conftest.c -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5 >/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crt1.o: In function `_start': >init.c:(.text+0x18): undefined reference to `main' >collect2: ld returned 1 exit status >configure: failed program was: >#line 1511 "configure" >#include "confdefs.h" > >#include <stdio.h> >#include "SDL.h" > >int main(int argc, char *argv[]) >{ return 0; } >#undef main >#define main K_and_R_C_main > >int main() { > return 0; >; return 0; }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 94353
: 60173