compile problem with 3.2.1

These are old archives. They are kept for historic purposes only.
Post Reply
Wolf
Posts: 6
Joined: Tue Jun 22, 2004 7:17 pm
Contact:

compile problem with 3.2.1

Post by Wolf »

im running suse pro 9.0 and get this error while in the 'make'

Code: Select all

linux:/home/wolf/Documents/Unreal3.2 # make
Building src
make[1]: Entering directory `/home/wolf/Documents/Unreal3.2/src'
make[1]: Warning: File `Makefile' has modification time 7.8e+07 s in the future
gcc -I../include -I/home/wolf/Documents/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic   -c auth.c
In file included from auth.c:21:
../include/struct.h:68:23: tre/regex.h: No such file or directory
In file included from auth.c:21:
../include/struct.h:797: error: parse error before "regex_t"
../include/struct.h:797: warning: no semicolon at end of struct or union
../include/struct.h:800: error: parse error before '}' token
In file included from auth.c:21:
../include/struct.h:1200: error: parse error before "regex_t"
../include/struct.h:1200: warning: no semicolon at end of struct or union
../include/struct.h:1282: error: parse error before "regex_t"
../include/struct.h:1282: warning: no semicolon at end of struct or union
make[1]: *** [auth.o] Error 1
make[1]: Leaving directory `/home/wolf/Documents/Unreal3.2/src'
make: *** [build] Error 2
any one else having this same problem ?
if i missed a post some where sorry

Wolf
Image
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Can you run a

Code: Select all

gcc -v
and post the results back?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Wolf
Posts: 6
Joined: Tue Jun 22, 2004 7:17 pm
Contact:

Post by Wolf »

the gcc build is 3.3.1
Image
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

ooh wait.

Code: Select all

make[1]: Warning: File `Makefile' has modification time 7.8e+07 s in the future 
Check your system clock, I think I had problems compiling once when my clock was funny :)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Check your system clock, I think I had problems compiling once when my clock was funny
The make command is *very* time sensitive. And well that's not off by a few seconds, 7.8e7 is about 2.5 years! Your clock is off by 2 and a half years, no way in hell will Unreal work even if you did get it to compile. IRC is heavily timestamp based, having a clock that is off by 2.5 years will wreck havoc!
-- codemastr
Wolf
Posts: 6
Joined: Tue Jun 22, 2004 7:17 pm
Contact:

Post by Wolf »

ah yes i overlooked that .... sorry just installed suse and didnt notice the time differential.
Image
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Yay for w00t spotting the problem.

Code, can I ask exactly *why* time matters so much during compilation? Indeed, if you made sure all the server clocks were off exactly the same amount, it'd work, wouldn't it?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

I think it has to do with make checking the file times to determine what to compile and what not to compile. If a file's modification time is way off, then something's whacked.
7ime2die
Posts: 3
Joined: Tue Oct 12, 2004 9:04 pm

Post by 7ime2die »

I have the same problem, can someone exactly tell me what 2 do
gcc version is 331 on suse linux 9.0
thx for help
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

7ime2die:
If you knew how to read, you would see that you system clock is wrong.

If you don't know how to set the time, you SHOULD NOT be running a server.
7ime2die
Posts: 3
Joined: Tue Oct 12, 2004 9:04 pm

Post by 7ime2die »

well the time is definatly right !
7ime2die
Posts: 3
Joined: Tue Oct 12, 2004 9:04 pm

Post by 7ime2die »

well i hade 2 run Config again now its working
Post Reply