Technical support > Linux

Make error.

(1/2) > >>

O01eg:
I have got strange error:

--- Code: --- * [UFO] src/client/menu/m_dragndrop.c
 * [UFO] src/client/menu/m_draw.c
 * [UFO] src/client/menu/m_font.c
src/client/menu/m_dragndrop.c: In function ‘MN_DrawDragAndDrop’:
src/client/menu/m_dragndrop.c:247: warning: implicit declaration of function ‘R_DrawCircle2D’
src/client/menu/m_dragndrop.c:247: error: ‘viddef’ undeclared (first use in this function)
src/client/menu/m_dragndrop.c:247: error: (Each undeclared identifier is reported only once
src/client/menu/m_dragndrop.c:247: error: for each function it appears in.)
make: *** [debug-linux-gnu-x86_64/client/client/menu/m_dragndrop.o] Error 1
make: *** Waiting for unfinished jobs....
--- End code ---
I solved it by including "../cl_video.h" into src/client/menu/m_dragndrop.c, but I didn't find anybody who hed got this error too.
SVN Revision: 23491
SVN Revision of src/client/menu/m_dragndrop.c: 22920
OS: Gentoo x86_64

[attachment deleted by admin]

bayo:
Hello and thanks for your message.

Maybe you are the only one using PARANOID to build the game, that why you have this problem.

I fix this problem in r23501.

If you dont need it, you also can undefine PARANOID. Maybe its only used for evil debuging.

O01eg:
Yet another bug:

--- Code: --- * [GAM] src/game/g_phys.c
 * [GAM] src/game/g_reaction.c
 * [GAM] src/game/g_main.c
src/game/g_main.c: In function ‘Com_Printf’:
src/game/g_main.c:328: error: ‘game_import_t’ has no member named ‘__dprintf_chk’
src/game/g_main.c: In function ‘Com_DPrintf’:
src/game/g_main.c:347: error: ‘game_import_t’ has no member named ‘__dprintf_chk’
make: *** [release-linux-gnu-x86_64/game/game/g_main.o] Error 1
--- End code ---
SVN revision: 23530
SVN revision of src/game/g_main.c: 23142


[attachment deleted by admin]

O01eg:
Bug yet not solved.
SVN Revision: 23538
SVN revision of src/game/g_main.c: 23538

[attachment deleted by admin]

O01eg:
This bug is caused with file /usr/include/bits/stdio2.h from sys-libs/glibc-2.8_p20080602-r1 where define at line 189:

--- Code: ---#   define dprintf(fd, ...) \
  __dprintf_chk (fd, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
--- End code ---
g_cmds.1.c is g_cmds.c after preprocessor (getted with option -E of gcc).
SVN revision: 23617
SVN revision of src/game/g_cmds.c: 23551
OS: Gentoo x86_64

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

Go to full version