Page 1 of 1
Problem with CVS: 05/10/2005
Posted: Wed Oct 05, 2005 8:29 am
by Xochipilli
Today i've installed the new cvs but there is errors:
Code: Select all
make
Building src
make[1]: Entering directory `/home/***/Unreal3.2/src'
gcc -I../include -I/home/***/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -DFD_SETSIZE=1024 -c auth.c
In file included from ../include/config.h:25,
from ../include/struct.h:26,
from auth.c:21:
../include/setup.h:191:18: missing terminating " character
In file included from ../include/sys.h:52,
from ../include/common.h:46,
from ../include/struct.h:43,
from auth.c:21:
../include/setup.h:191:18: missing terminating " character
In file included from ../include/h.h:28,
from auth.c:40:
../include/setup.h:191:18: missing terminating " character
make[1]: *** [auth.o] Error 1
make[1]: Leaving directory `/home/***/Unreal3.2/src'
make: *** [build] Error 2
I've gcc 4
OS: Gentoo Linux 2005.1
Tnx!
Posted: Wed Oct 05, 2005 10:49 am
by w00t
On a wild guess, you did ./Config first, right?
Posted: Wed Oct 05, 2005 11:13 am
by Xochipilli
w00t wrote:On a wild guess, you did ./Config first, right?
Yes i do ./Config

Posted: Wed Oct 05, 2005 7:27 pm
by Syzop
This looks like the "uname -a fucked up issue".
Have a look around line 191 (so 190-193).
Paste them here, if you cannot figure the cause out.
Alternatively, type 'uname -a' and see if you see anything "odd". The output should be exactly 1 line, not a extra empty line or anything.
Posted: Thu Oct 06, 2005 7:49 am
by Xochipilli
uname -a
Linux
HOST 2.6.11-gentoo-r9 #1 Tue May 31 07:49:25 CEST 2005 i686 AMD Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux
Have a look around line 191 (so 190-193).
Paste them here, if you cannot figure the cause out.
What file? the auth.c ?
Posted: Thu Oct 06, 2005 8:43 am
by Dukat
No, setup.h
Posted: Thu Oct 06, 2005 1:26 pm
by Syzop
Xochipilli wrote:uname -a
Linux
HOST 2.6.11-gentoo-r9 #1 Tue May 31 07:49:25 CEST 2005 i686 AMD Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux
Right, there's your problem :).
There's suddenly a newline in there, that can't be right.
It should be something like:
Code: Select all
syzop@vulnscan:~$ uname -a
Linux vulnscan 2.4.31 #1 Mon Aug 1 17:41:19 CEST 2005 i686 GNU/Linux
syzop@vulnscan:~$
Not suddenly Linux<NEW LINE>vulnscan :P
Dukat wrote:No, setup.h
Right.
Posted: Thu Oct 06, 2005 1:31 pm
by Xochipilli
Dukat wrote:No, setup.h
tnx, dukat.
in the setup.h in line 190 there is:
Code: Select all
/* The OS name and version of the server */
#define MYOSNAME "Linux
i think i do to write:
exact? in the code isn't the "
Posted: Thu Oct 06, 2005 1:43 pm
by Xochipilli
Now i've this problem!
arghhhhhhhhh
Code: Select all
/home/crazy/Unreal3.2/src/modules.c:298: undefined reference to `dlopen'
modules.o(.text+0x305):/home/crazy/Unreal3.2/src/modules.c:301: undefined reference to `dlsym'
modules.o(.text+0x357):/home/crazy/Unreal3.2/src/modules.c:315: undefined reference to `dlclose'
modules.o(.text+0x380):/home/crazy/Unreal3.2/src/modules.c:319: undefined reference to `dlsym'
modules.o(.text+0x399):/home/crazy/Unreal3.2/src/modules.c:328: undefined reference to `dlclose'
modules.o(.text+0x3db):/home/crazy/Unreal3.2/src/modules.c:343: undefined reference to `dlclose'
modules.o(.text+0x433):/home/crazy/Unreal3.2/src/modules.c:356: undefined reference to `dlsym'
modules.o(.text+0x44c):/home/crazy/Unreal3.2/src/modules.c:362: undefined reference to `dlsym'
modules.o(.text+0x465):/home/crazy/Unreal3.2/src/modules.c:368: undefined reference to `dlsym'
modules.o(.text+0x491):/home/crazy/Unreal3.2/src/modules.c:379: undefined reference to `dlsym'
modules.o(.text+0x4a8):/home/crazy/Unreal3.2/src/modules.c:382: undefined reference to `dlsym'
modules.o(.text+0x58c):/home/crazy/Unreal3.2/src/modules.c:349: undefined reference to `dlclose'
modules.o(.text+0x5ce):/home/crazy/Unreal3.2/src/modules.c:322: undefined reference to `dlclose'
modules.o(.text+0x726): In function `Init_all_testing_modules':
/home/crazy/Unreal3.2/src/modules.c:469: undefined reference to `dlsym'
modules.o(.text+0x7d6): In function `Unload_all_loaded_modules':
/home/crazy/Unreal3.2/src/modules.c:504: undefined reference to `dlsym'
modules.o(.text+0x8d8):/home/crazy/Unreal3.2/src/modules.c:562: undefined reference to `dlclose'
modules.o(.text+0xb1b): In function `Unload_all_testing_modules':
/home/crazy/Unreal3.2/src/modules.c:628: undefined reference to `dlclose'
modules.o(.text+0xd6d): In function `Module_free':
/home/crazy/Unreal3.2/src/modules.c:709: undefined reference to `dlclose'
modules.o(.text+0xede): In function `Module_Unload':
/home/crazy/Unreal3.2/src/modules.c:738: undefined reference to `dlsym'
modules.o(.text+0xf5a): In function `Module_SymEx':
/home/crazy/Unreal3.2/src/modules.c:774: undefined reference to `dlsym'
modules.o(.text+0xfbb): In function `Module_Sym':
/home/crazy/Unreal3.2/src/modules.c:796: undefined reference to `dlsym'
modules.o(.text+0x101e): In function `Module_SymX':
/home/crazy/Unreal3.2/src/modules.c:818: undefined reference to `dlsym'
modules.o(.text+0x1077): In function `module_loadall':
/home/crazy/Unreal3.2/src/modules.c:850: undefined reference to `dlsym'
modules.o(.text+0x21c0):/home/crazy/Unreal3.2/src/modules.c:1483: more undefined references to `dlsym' follow
modules.o(.text+0x618): In function `Module_Create':
/home/crazy/Unreal3.2/src/modules.c:412: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[1]: *** [ircd] Error 1
make[1]: Leaving directory `/home/crazy/Unreal3.2/src'
make: *** [build] Error 2
Posted: Thu Oct 06, 2005 2:01 pm
by Syzop
It's probably a better idea to fix your box instead.
Is this your physical machine? Or some kind of virtual private server or anything?
Home? Shell?
(because I wonder what that 'HOST' thing suddenly in uname -a is ;p).
When do you get an extra new line?
Try the following 3 commands to find out:
uname -s
uname -n
uname -r
They should be like:
Code: Select all
syzop@vulnscan:~$ uname -s
Linux
syzop@vulnscan:~$ uname -n
vulnscan
syzop@vulnscan:~$ uname -r
2.4.31
syzop@vulnscan:~$
(find the one which has an extra empty line, assuming there is one)
Of course, if anyone is familiar with this weird problem, feel free to speak up ;). I've only heard of it once before, and that was with a BSD guy.
**
Also, don't blame unreal for this (not that you were doing this ;p).
The Single UNIX Specification (and probably other standards as well)
says clearly:
If the -a option is specified, the output will be a single line of the following form:
"%s %s %s %s %s\n", <sysname>,
<nodename>,
<release>,
<version>,
<machine>