Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2005 18:44:09 +0200
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        ports@freebsd.org
Cc:        jylefort@FreeBSD.org
Subject:   super_methane_brothers Compilation Error
Message-ID:  <1115397849.2334.16.camel@beaster>

next in thread | raw e-mail | index | archive | help
Hi,

when trying to compile the games/super_methane_brothers (1.4.7) Port I
always get a compilation error. The System

FreeBSD beaster.home.folkerts-net.de 5.4-STABLE FreeBSD 5.4-STABLE #0:
Sat Apr 23 14:25:50 CEST 2005     

I already tried forced-Portupgrades of libmikmod and clanlib-devel, but
that didn't fix the problem.

I also tried to install libmikmod via a Package, as during my tries I
found that "libmikmod-config --libs" gives a "-L/usr/local/lib -lmikmod
-pthread -L/usr/local/lib -lm" (to me, not being a C-Programmer, it
seems sthg. is missing behind the last "-lm"). But that also didn't
help...

Btw: The installed libmikmod and clanlib-devel have the Versions:
clanlib-devel-0.7.8.1_2
libmikmod-esound-3.1.11

As I didn't find any Mails in this group re. that Problem (and also
didn't find a Bugreport for it) it seems that something's wrong with my
Port-System? (pkgdb -F runs thru w/o any Problems).

Below is the Output from the Compile... Would be really great if someone
could help me (however, it's only a game and I can for sure live without
it :-) - so it's by no means "urgent")

MTIA!
Cheers,
_ralf_

===>  Extracting for super_methane_brothers-1.4.7
=> Checksum OK for methane-1.4.7.tgz.
===>  Patching for super_methane_brothers-1.4.7
===>   super_methane_brothers-1.4.7 depends on executable: gmake - found
===>   super_methane_brothers-1.4.7 depends on shared library:
clanCore-0.7 - found
===>   super_methane_brothers-1.4.7 depends on shared library: mikmod -
found
===>   super_methane_brothers-1.4.7 depends on shared library: X11.6 -
found
===>  Configuring for super_methane_brothers-1.4.7
===>  Building for super_methane_brothers-1.4.7
Compiling Super Methane Brothers.
=================================
  Compiling ../gfxoff.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../gfxoff.cpp -o
MainSource/gfxoff.o
  Compiling ../baddie.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../baddie.cpp -o
MainSource/baddie.o
  Compiling ../bitdraw.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../bitdraw.cpp -o
MainSource/bitdraw.o
  Compiling ../bitgroup.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../bitgroup.cpp -o
MainSource/bitgroup.o
  Compiling ../bititem.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../bititem.cpp -o
MainSource/bititem.o
  Compiling ../boss.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../boss.cpp -o
MainSource/boss.o
  Compiling ../game.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../game.cpp -o
MainSource/game.o
  Compiling ../gasobj.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../gasobj.cpp -o
MainSource/gasobj.o
  Compiling ../global.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../global.cpp -o
MainSource/global.o
  Compiling ../goodie.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../goodie.cpp -o
MainSource/goodie.o
  Compiling ../maps.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../maps.cpp -o
MainSource/maps.o
  Compiling ../misc.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../misc.cpp -o
MainSource/misc.o
  Compiling ../objlist.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../objlist.cpp -o
MainSource/objlist.o
  Compiling ../player.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../player.cpp -o
MainSource/player.o
  Compiling ../power.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../power.cpp -o
MainSource/power.o
  Compiling ../target.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../target.cpp -o
MainSource/target.o
  Compiling ../suck.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../suck.cpp -o
MainSource/suck.o
  Compiling ../weapon.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../weapon.cpp -o
MainSource/weapon.o
  Compiling ../sound.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../linux -c ../sound.cpp -o
MainSource/sound.o
  Compiling ../data/snddata.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../data/snddata.cpp -o
MainData/snddata.o
  Compiling ../data/gfxdata.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../data/gfxdata.cpp -o
MainData/gfxdata.o
  Compiling ../data/gfxdata2.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../data/gfxdata2.cpp -o
MainData/gfxdata2.o
  Compiling ../data/gfxdata3.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../data/gfxdata3.cpp -o
MainData/gfxdata3.o
  Compiling ../data/mapdata.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../data/mapdata.cpp -o
MainData/mapdata.o
  Compiling ../linux/font32.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../linux/font32.cpp -o
MainLinux/font32.o
  Compiling ../linux/doc.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../linux/doc.cpp -o
MainLinux/doc.o
  Compiling ../linux/main.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../linux/main.cpp -o
MainLinux/main.o
  Compiling ../mikmod/audiodrv.cpp...
g++ -O -pipe -march=athlon-xp -I/usr/X11R6/include `pkg-config --cflags
clanCore-0.7 clanDisplay-0.7 clanApp-0.7 clanGL-0.7` -DMETHANE_MIKMOD
`libmikmod-config --cflags` -I ../ -c ../mikmod/audiodrv.cpp -o
MainMikMod/audiodrv.o
g++ -O -pipe -march=athlon-xp MainSource/gfxoff.o MainSource/baddie.o
MainSource/bitdraw.o MainSource/bitgroup.o MainSource/bititem.o \
MainSource/boss.o MainSource/game.o MainSource/gasobj.o
MainSource/global.o MainSource/goodie.o MainSource/maps.o \
MainSource/misc.o MainSource/objlist.o MainSource/player.o
MainSource/power.o MainSource/target.o \
MainSource/suck.o MainSource/weapon.o MainSource/sound.o
MainData/snddata.o MainData/gfxdata.o MainData/gfxdata2.o \
MainData/gfxdata3.o MainData/mapdata.o MainLinux/font32.o
MainLinux/doc.o MainLinux/main.o MainMikMod/audiodrv.o \
-o methane -L/usr/X11R6/lib `pkg-config --libs clanCore-0.7
clanDisplay-0.7 clanApp-0.7 clanGL-0.7` `libmikmod-config --libs`
MainLinux/main.o(.gnu.linkonce.t._ZN20SuperMethaneBrothers4mainEiPPc
+0xbdc): In function `SuperMethaneBrothers::main(int, char**)':
: undefined reference to `CL_Slot::~CL_Slot()'
MainLinux/main.o(.gnu.linkonce.t._ZN20SuperMethaneBrothers4mainEiPPc
+0xbec): In function `SuperMethaneBrothers::main(int, char**)':
: undefined reference to `CL_Slot::~CL_Slot()'
MainLinux/main.o(.gnu.linkonce.t._ZN20SuperMethaneBrothers4mainEiPPc
+0xc00): In function `SuperMethaneBrothers::main(int, char**)':
: undefined reference to `CL_Slot::~CL_Slot()'
MainLinux/main.o(.gnu.linkonce.t._ZN20SuperMethaneBrothers4mainEiPPc
+0xc10): In function `SuperMethaneBrothers::main(int, char**)':
: undefined reference to `CL_Slot::~CL_Slot()'
MainLinux/main.o(.gnu.linkonce.t._ZN12CL_Signal_v1IRK13CL_InputEventE7connectEP10CL_Slot_v1IS2_E+0x1d): In function `CL_Signal_v1<CL_InputEvent const&>::connect(CL_Slot_v1<CL_InputEvent const&>*)':
: undefined reference to `CL_Slot_Generic::add_signal_ref(CL_Signal*)'
MainLinux/main.o(.gnu.linkonce.t._ZN12CL_Signal_v1IRK13CL_InputEventE7connectEP10CL_Slot_v1IS2_E+0x41): In function `CL_Signal_v1<CL_InputEvent const&>::connect(CL_Slot_v1<CL_InputEvent const&>*)':
: undefined reference to `CL_Slot::CL_Slot(CL_Slot_Generic*)'
MainLinux/main.o(.gnu.linkonce.t._ZN16CL_MethodSlot_v1I20SuperMethaneBrothersRK13CL_InputEventEC1EPS0_MS0_FvS3_E+0xe): In function `CL_MethodSlot_v1<SuperMethaneBrothers, CL_InputEvent const&>::CL_MethodSlot_v1(SuperMethaneBrothers*, void (SuperMethaneBrothers::*)(CL_InputEvent const&))':
: undefined reference to `CL_Slot_Generic::CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN12CL_Signal_v07connectI20SuperMethaneBrothersEE7CL_SlotPT_MS3_FvvE+0x6b): In function `CL_Slot CL_Signal_v0::connect<SuperMethaneBrothers>(SuperMethaneBrothers*, void (SuperMethaneBrothers::*)())':
: undefined reference to `CL_Slot_Generic::add_signal_ref(CL_Signal*)'
MainLinux/main.o(.gnu.linkonce.t._ZN12CL_Signal_v07connectI20SuperMethaneBrothersEE7CL_SlotPT_MS3_FvvE+0x92): In function `CL_Slot CL_Signal_v0::connect<SuperMethaneBrothers>(SuperMethaneBrothers*, void (SuperMethaneBrothers::*)())':
: undefined reference to `CL_Slot::CL_Slot(CL_Slot_Generic*)'
MainLinux/main.o(.gnu.linkonce.t._ZN16CL_MethodSlot_v0I20SuperMethaneBrothersEC1EPS0_MS0_FvvEMS0_FvR16CL_SlotParent_v0E+0xe): In function `CL_MethodSlot_v0<SuperMethaneBrothers>::CL_MethodSlot_v0(SuperMethaneBrothers*, void (SuperMethaneBrothers::*)(), void (SuperMethaneBrothers::*)(CL_SlotParent_v0&))':
: undefined reference to `CL_Slot_Generic::CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN16CL_MethodSlot_v0I20SuperMethaneBrothersED1Ev+0x13): In function `CL_MethodSlot_v0<SuperMethaneBrothers>::~CL_MethodSlot_v0()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN16CL_MethodSlot_v0I20SuperMethaneBrothersED0Ev+0x14): In function `CL_MethodSlot_v0<SuperMethaneBrothers>::~CL_MethodSlot_v0()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN16CL_MethodSlot_v1I20SuperMethaneBrothersRK13CL_InputEventED1Ev+0x13): In function `CL_MethodSlot_v1<SuperMethaneBrothers, CL_InputEvent const&>::~CL_MethodSlot_v1()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN16CL_MethodSlot_v1I20SuperMethaneBrothersRK13CL_InputEventED0Ev+0x14): In function `CL_MethodSlot_v1<SuperMethaneBrothers, CL_InputEvent const&>::~CL_MethodSlot_v1()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN16CL_MethodSlot_v0I20SuperMethaneBrothersE4callER16CL_SlotParent_v0+0x2b): In function `CL_MethodSlot_v0<SuperMethaneBrothers>::call(CL_SlotParent_v0&)':
: undefined reference to `CL_Slot_Generic::get_slot_ref() const'
MainLinux/main.o(.gnu.linkonce.t._ZN10CL_Slot_v0D0Ev+0x14): In function
`CL_Slot_v0::~CL_Slot_v0()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN10CL_Slot_v0D1Ev+0x13): In function
`CL_Slot_v0::~CL_Slot_v0()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN10CL_Slot_v1IRK13CL_InputEventED0Ev
+0x14): In function `CL_Slot_v1<CL_InputEvent const&>::~CL_Slot_v1()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.t._ZN10CL_Slot_v1IRK13CL_InputEventED1Ev
+0x13): In function `CL_Slot_v1<CL_InputEvent const&>::~CL_Slot_v1()':
: undefined reference to `CL_Slot_Generic::~CL_Slot_Generic()'
MainLinux/main.o(.gnu.linkonce.r._ZTI10CL_Slot_v0+0x8): undefined
reference to `typeinfo for CL_Slot_Generic'
MainLinux/main.o(.gnu.linkonce.r._ZTI10CL_Slot_v1IRK13CL_InputEventE
+0x8): undefined reference to `typeinfo for CL_Slot_Generic'
/usr/local/lib/libclanCore.so: undefined reference to
`CL_Slot_Generic::release_signal_ref(CL_Signal*)'
/usr/local/lib/libclanDisplay.so: undefined reference to
`CL_Slot::CL_Slot(CL_Slot const&)'
/usr/local/lib/libclanCore.so: undefined reference to
`CL_Slot::operator=(CL_Slot const&)'
/usr/local/lib/libclanCore.so: undefined reference to
`CL_Slot_Generic::is_persistent() const'
/usr/local/lib/libclanCore.so: undefined reference to
`CL_Slot::CL_Slot()'
gmake: *** [methane] Error 1
*** Error code 2

Stop in /usr/ports/games/super_methane_brothers.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1115397849.2334.16.camel>