[Bug 2342] Review Request: 0ad - Cross-Platform RTS Game of Ancient Warfare
RPM Fusion Bugzilla
noreply at rpmfusion.org
Sat May 26 23:23:11 CEST 2012
https://bugzilla.rpmfusion.org/show_bug.cgi?id=2342
--- Comment #3 from pcpa <paulo.cesar.pereira.de.andrade at gmail.com> 2012-05-26 23:23:11 CEST ---
(In reply to comment #2)
> I tried building for F16 and it failed with the following error:
>
>
> g++ -Iobj/engine_Release -include obj/engine_Release/precompiled.h -O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MMD -MP
> -DNDEBUG -DCONFIG_FINAL=1 -DCONFIG2_NVTT=0 -DLIB_STATIC_LINK
> -DINSTALLED_BINDIR= -DINSTALLED_DATADIR= -DINSTALLED_LIBDIR= -DUSING_PCH
> -DWITH_SYSTEM_MOZJS185 -I/usr/X11R6/include/X11 -I/usr/X11R6/include
> -I/usr/include/X11 -I../../../source/pch/engine -I../../../source -g -Wall -O3
> -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra
> -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls
> -Wnon-virtual-dtor -Wundef -fstack-protector-all -D_FORTIFY_SOURCE=2
> -fstrict-aliasing -fpch-preprocess -fno-omit-frame-pointer -msse
> -fvisibility=hidden `pkg-config mozjs185 --cflags` `sdl-config --cflags`
> `pkg-config libxml-2.0 --cflags` -MF obj/engine_Release/ProfileViewer.d -MT
> "obj/engine_Release/ProfileViewer.o" -o "obj/engine_Release/ProfileViewer.o" -c
> "../../../source/ps/ProfileViewer.cpp"
> ../../../source/network/NetServer.cpp: In member function 'bool
> CNetServerWorker::SetupConnection()':
> ../../../source/network/NetServer.cpp:168:67: error: too many arguments to
> function 'ENetHost* enet_host_create(const ENetAddress*, size_t, enet_uint32,
> enet_uint32)'
> /usr/include/enet/enet.h:461:21: note: declared here
> make[1]: *** [obj/network_Release/NetServer.o] Error 1
For fedora 16, it is required to use the bundled enet. You can
make a minor adaptation of the first spec I made, before having
a fedora account, in the first entry at
https://bugzilla.redhat.com/show_bug.cgi?id=818401
or the direct link :-)
http://kenobi.mandriva.com/~pcpa/0ad.spec
What is the proper way to check for what fedora version it
is being built? I can update the spec to automatically do
that, that is, adding back the "with_system_enet" macro,
that would be set to 0 if in fedora 16.
Probably responding myself, it is ok to add:
%if "%{dist}" == ".fc16"
if so, I can upload a new srpm.
--
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the rpmfusion-developers
mailing list