Project

General

Profile

Bug #1933

doomsday-git linux compilation error: Makefile:546: recipe for target 'hu_pspr.o' failed

Added by sermayen almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Lowest
Assignee:
Category:
-
Target version:
-
Start date:
2014-12-27
% Done:

0%


Description

Here's the full output:

make2: Entering directory '/home/chris/sources/doomsday-build/plugins/hexen'
make2: Nothing to be done for 'first'.
make2: Leaving directory '/home/chris/sources/doomsday-build/plugins/hexen'
ccache g++ -c -pipe -std=c++11 -I/usr/include/assimp -O2 -D_REENTRANT -Wall -W -Wno-missing-field-initializers -fPIC -DNDEBUG -DDENG_64BIT_HOST -DUNIX -DDENG_X11 -DDENG_BASE_DIR="\"/usr/local/games/doom/doomsday//share/doomsday/\"" -DDENG_LIBRARY_DIR="\"/usr/local/games/doom/doomsday//lib/doomsday/\"" -DDENG_NO_FIXED_ASM -DDENG_NO_RANGECHECKING -D__JDOOM__ -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../../doomsday-git/doomsday/plugins/doom -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I../../../doomsday-git/doomsday/api -I../../../doomsday-git/doomsday/libcore/include -I../../../doomsday-git/doomsday/libdoomsday/include -I../../../doomsday-git/doomsday/liblegacy/include -I../../../doomsday-git/doomsday/plugins/common/include -I/portable/include -I../../../doomsday-git/doomsday/external/lzss/portable/include -I../../../doomsday-git/doomsday/libgui/include -I../../../doomsday-git/doomsday/plugins/doom/include -I/home/chris/sources/doomsday-build/plugins/doom/. -I../../../doomsday-git/doomsday/plugins/doom -I. -o p_map.o ../../../doomsday-git/doomsday/plugins/common/src/p_map.cpp
In file included from ../../../doomsday-git/doomsday/plugins/doom64/include/jdoom64.h:35:0,
from ../../../doomsday-git/doomsday/plugins/common/src/hu_pspr.c:35:
../../../doomsday-git/doomsday/plugins/doom64/include/../../doom64/include/d_config.h:80:5: error: unknown type name 'libcommon_config_t'
libcommon_config_t common;
^
../../../doomsday-git/doomsday/plugins/common/src/hu_pspr.c: In function 'HU_PSpriteYOffset':
../../../doomsday-git/doomsday/plugins/common/src/hu_pspr.c:92:29: error: request for member 'plrViewHeight' in something not a structure or union
float offy = (cfg.common.plrViewHeight - DEFAULT_PLAYER_VIEWHEIGHT) * 2;
^
In file included from ../../../doomsday-git/doomsday/plugins/heretic/include/jheretic.h:39:0,
from ../../../doomsday-git/doomsday/plugins/common/src/hu_pspr.c:37:
../../../doomsday-git/doomsday/plugins/heretic/include/../../heretic/include/h_config.h:80:5: error: unknown type name 'libcommon_config_t'
libcommon_config_t common;
^
../../../doomsday-git/doomsday/plugins/common/src/hu_pspr.c: In function 'HU_PSpriteYOffset':
../../../doomsday-git/doomsday/plugins/common/src/hu_pspr.c:92:29: error: request for member 'plrViewHeight' in something not a structure or union
float offy = (cfg.common.plrViewHeight - DEFAULT_PLAYER_VIEWHEIGHT) * 2;
^
../../../doomsday-git/doomsday/plugins/common/src/hu_pspr.c:112:50: error: request for member 'statusbarScale' in something not a structure or union
offy -= (float) (ST_HEIGHT-1) * cfg.common.statusbarScale - 20;
^
Makefile:546: recipe for target 'hu_pspr.o' failed
make2: * [hu_pspr.o] Error 1
make2:
Waiting for unfinished jobs....
ccache g++ -c -pipe -std=c++11 -I/usr/include/assimp -O2 -D_REENTRANT -Wall -W -Wno-missing-field-initializers -fPIC -DNDEBUG -DDENG_64BIT_HOST -DUNIX -DDENG_X11 -DDENG_BASE_DIR="\"/usr/local/games/doom/doomsday//share/doomsday/\"" -DDENG_LIBRARY_DIR="\"/usr/local/games/doom/doomsday//lib/doomsday/\"" -DDENG_NO_FIXED_ASM -DDENG_NO_RANGECHECKING -D__JDOOM__ -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../../doomsday-git/doomsday/plugins/doom -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I../../../doomsday-git/doomsday/api -I../../../doomsday-git/doomsday/libcore/include -I../../../doomsday-git/doomsday/libdoomsday/include -I../../../doomsday-git/doomsday/liblegacy/include -I../../../doomsday-git/doomsday/plugins/common/include -I/portable/include -I../../../doomsday-git/doomsday/external/lzss/portable/include -I../../../doomsday-git/doomsday/libgui/include -I../../../doomsday-git/doomsday/plugins/doom/include -I/home/chris/sources/doomsday-build/plugins/doom/. -I../../../doomsday-git/doomsday/plugins/doom -I. -o p_mapsetup.o ../../../doomsday-git/doomsday/plugins/common/src/p_mapsetup.cpp
Makefile:546: recipe for target 'hu_pspr.o' failed
make2: *
* [hu_pspr.o] Error 1

History

#1 Updated by skyjake almost 10 years ago

Current master builds fine for me, on clang and gcc. Sometimes it helps to rerun qmake when getting errors like this. Let me know if the error persists.

#2 Updated by skyjake almost 10 years ago

  • Status changed from New to Feedback
  • Assignee set to sermayen

#3 Updated by skyjake almost 10 years ago

  • Priority changed from Normal to Lowest

#4 Updated by skyjake almost 10 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF