View Issue Details

IDProjectCategoryView StatusLast Update
0006469unrealinstallingpublic2024-09-10 16:35
Reporterhughmungus Assigned Tosyzop  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.1.0 
Fixed in Version6.1.8 
Summary0006469: Make does crash with an error due to a syntax error in the src code (strut.h)
DescriptionI'm using Centos 6.7 and never had issues with installing Unreal versions 4 and 5.

Now "make" creates the following error:

[root@v37146 unrealircd-6.1.0]# make
Building src
make[1]: Entering directory `/home/chem/unrealircd-6.1.0/src'
# Force build of 'ircd', before we start building any modules:
make ircd unrealircdctl
make[2]: Entering directory `/home/chem/unrealircd-6.1.0/src'
gcc -std=gnu99 -I/home/chem/unrealircd-6.1.0/include -pthread -I/home/chem/unrealircd-6.1.0/extras/pcre2/include -I/home/chem/unrealircd-6.1.0/extras/argon2/include -I/home/chem/unrealircd-6.1.0/extras/sodium/include -I/home/chem/unrealircd-6.1.0/extras/jansson/include -g -O2 -fno-strict-aliasing -fno-common -funsigned-char -Wall -Wextra -Waggregate-return -Wformat-nonliteral -Wparentheses -Wno-pointer-sign -Wno-format-zero-length -Wno-unused -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-char-subscripts -Wno-sign-compare -Wno-empty-body -Wno-pragmas -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -c ircd_vars.c
In file included from /home/chem/unrealircd-6.1.0/include/unrealircd.h:7,
                 from ircd_vars.c:6:
/home/chem/unrealircd-6.1.0/include/struct.h:1443: Fehler: Redefinition des typedef »RPCClient«
/home/chem/unrealircd-6.1.0/include/struct.h:133: Anmerkung: Vorherige Deklaration von »RPCClient« war hier
make[2]: *** [ircd_vars.o] Fehler 1
make[2]: Leaving directory `/home/chem/unrealircd-6.1.0/src'
make[1]: *** [build] Fehler 2
make[1]: Leaving directory `/home/chem/unrealircd-6.1.0/src'
make: *** [build] Fehler 2
Steps To ReproduceI also tried the latested build 6.1.7.2 and get the same error.
TagsNo tags attached.
3rd party modules

Activities

syzop

2024-09-10 16:32

administrator   ~0023339

Fixed by alice in https://github.com/unrealircd/unrealircd/pull/296 merged as https://github.com/unrealircd/unrealircd/commit/255dfe6bf7a531f1182d0b4b78d7e7f9b7feda0d

syzop

2024-09-10 16:34

administrator   ~0023340

Last edited: 2024-09-10 16:35

So the double typedef is fixed, but as others mentioned: CentOS is out of support https://endoflife.date/centos so don't be surprised if you run into other issues.

Issue History

Date Modified Username Field Change
2024-09-09 23:56 hughmungus New Issue
2024-09-10 16:32 syzop Assigned To => syzop
2024-09-10 16:32 syzop Status new => resolved
2024-09-10 16:32 syzop Resolution open => fixed
2024-09-10 16:32 syzop Fixed in Version => 6.1.8
2024-09-10 16:32 syzop Note Added: 0023339
2024-09-10 16:34 syzop Note Added: 0023340
2024-09-10 16:35 syzop Note Edited: 0023340