The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2024, 08:28:05 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

  Show Posts
Pages: [1]
1  The Ur-Quan Masters Re-Release / Technical Issues / Re: MinGW compile problem on: March 14, 2007, 03:52:14 pm
 Cheesy  forgot to check for the .exe file.

now that i got everything in place and ran uqm, i'm getting a

Netplay protocol version 0.3 Requiring remote UQM version 0.5.4.
Fatle error: Could not find content

silly me, forgot to copy content...

so after that... all is well....

it runs perfectly... thanks for the guidence.   Smiley
2  The Ur-Quan Masters Re-Release / Technical Issues / Re: MinGW compile problem on: March 13, 2007, 08:50:40 pm
ok, i did some minor changes.... so i undid the change.... i guess i should try to compile first without any changes first.

now, it got further.... with the same type of config.... (netplay enabled) i got the following

  CC       obj/release/src/regex/regex.c.o
src/regex/regex.c:32:1: warning: "alloca" redefined
In file included from src/port.h:132,
                 from src/regex/regex.c:25:
c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/malloc.h:61:1: warning: this is the location of the previous definition
  LINK     uqm
3  The Ur-Quan Masters Re-Release / Technical Issues / Re: MinGW compile problem on: March 13, 2007, 08:18:50 pm
 
ah ok, i ran clean, enabled netplay as follows

 -= Main menu =-
  1. Type of build                        Optimised release build
  2. OpenGL graphics support              Include OpenGL graphics support
  3. Sound backend                        Use MixSDL for sound (internal)
  4. Tracker music support                Included libmikmod
  5. Ogg Vorbis codec                     Xiph libogg + libvorbis
  6. Network Supermelee support           IPv4 and IPv6
  7. Joystick support                     enabled
  8. Supported file i/o methods           Direct & .zip file i/o
  9. Graphics/Sound optimizations         Platform acceleration (asm, etc.)

and compile... ended with

  CC       obj/release/src/getopt/getopt1.c.o
  LINK     uqm
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x289): undefined reference to `regexec'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x313): undefined reference to `regexec'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x429): undefined reference to `regerror'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x44d): undefined reference to `regerror'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x4e4): undefined reference to `regerror'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x50b): undefined reference to `regerror'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x54e): undefined reference to `regfree'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x5cd): undefined reference to `regfree'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x644): undefined reference to `regcomp'
obj/release/src/sc2code/libs/uio/match.c.o:match.c:(.text+0x70f): undefined reference to `regcomp'
collect2: ld returned 1 exit status
make: *** [uqm] Error 1
4  The Ur-Quan Masters Re-Release / Technical Issues / Re: MinGW compile problem on: March 13, 2007, 06:33:29 pm
thanks for quick response... i try to compile it now and got the following, which i truncated to just the abnormal output

  CC       obj/release/src/sc2code/sis.c.o
src/sc2code/sis.c: In function `DrawStatusMessage':
src/sc2code/sis.c:384: warning: pointer type mismatch in conditional expression
  CC       obj/release/src/sc2code/libs/input/sdl/input.c.o
src/sc2code/libs/input/sdl/input.c: In function `InterrogateInputState':
src/sc2code/libs/input/sdl/input.c:393: warning: passing arg 1 of `VControl_StartIter' discards qualifiers from pointer target type
src/sc2code/libs/input/sdl/input.c: In function `RemoveInputState':
src/sc2code/libs/input/sdl/input.c:434: warning: passing arg 1 of `VControl_StartIter' discards qualifiers from pointer target type
src/sc2code/libs/input/sdl/input.c:442: warning: passing arg 2 of `VControl_RemoveGestureBinding' discards qualifiers from pointer target type
src/sc2code/libs/input/sdl/input.c: In function `RebindInputState':
src/sc2code/libs/input/sdl/input.c:465: warning: passing arg 2 of `VControl_AddBinding' discards qualifiers from pointer target type
  CC       obj/release/src/sc2code/libs/strings/unicode.c.o
src/sc2code/libs/strings/unicode.c: In function `getCharFromString':
src/sc2code/libs/strings/unicode.c:113: warning: comparison is always true due to limited range of data type
src/sc2code/libs/strings/unicode.c: In function `getStringFromChar':
src/sc2code/libs/strings/unicode.c:411: warning: large integer implicitly truncated to unsigned type
src/sc2code/libs/strings/unicode.c:412: warning: large integer implicitly truncated to unsigned type
src/sc2code/libs/strings/unicode.c:413: warning: large integer implicitly truncated to unsigned type
  CC       obj/release/src/regex/regex.c.o
src/regex/regex.c:32:1: warning: "alloca" redefined
In file included from src/port.h:132,
                 from src/regex/regex.c:25:
c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/malloc.h:61:1: warning: this is the location of the previous definition
  LINK     uqm
obj/release/src/sc2code/melee.c.o:melee.c:(.text+0x310a): undefined reference to `DrawMeleeStatusMessage'
collect2: ld returned 1 exit status
make: *** [uqm] Error 1
5  The Ur-Quan Masters Re-Release / Technical Issues / MinGW compile problem on: March 13, 2007, 05:23:03 pm
see output below... am i missing something?  i'm running windows xp

$ ./build.sh uqm config
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
build/unix/build.sh: libmikmod-config: command not found
build/unix/build.sh: libmikmod-config: command not found
build/unix/build.sh: libmikmod-config: command not found
GNU C compiler found.
We have a C preprocessor.
We have a C dependency generator.
We have a C compiler.
We have a linker.
windres found.
We have a Windows resource linker (windres).
Little-endian machine detected.
Simple DirectMedia Layer version 1.2.11 found.
SDL_image found.
Symbol 'readdir_r' not found.
Symbol 'setenv' not found.
Symbol 'strupr' found.
Symbol 'stricmp' found.
Symbol 'iswgraph' found.
Type 'wchar_t' found.
Type 'wint_t' found.
Symbol 'getopt_long' found.
Header 'regex.h' not found.
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!