Ubuntu Server 13.04 Setup - x86 & x64

xelloss
Posts: 57
Joined: Sat Mar 09, 2013 1:09 am

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by xelloss » Fri Jun 20, 2014 1:42 am

Linux build is broke again

Ubuntu 14.04 on make:

Code: Select all

dsgame-ai_ultimate_summon.o: In function `CAIUltimateSummon::ActionAbilityFinish()':
ai_ultimate_summon.cpp:(.text+0xaf5): undefined reference to `CMobSkill::setTP(float)'
dsgame-automatonentity.o:(.rodata._ZTV16CAutomatonEntity[_ZTV16CAutomatonEntity]+0x14): undefined reference to `CBattleEntity::addTP(float)'
dsgame-petentity.o:(.rodata._ZTV10CPetEntity[_ZTV10CPetEntity]+0x14): undefined reference to `CBattleEntity::addTP(float)'
collect2: error: ld returned 1 exit status
make: *** [dsgame] Error 1
Most likely from recent updates with regards to TP changes in the June patch, if I had to guess.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by kjLotus » Fri Jun 20, 2014 2:00 am

i'm not seeing it. it compiled fine for me on 14.04 as well, are you sure your git pull worked properly? it's saying that "m_PMobSkill->setTP(m_skillTP);" is using m_skillTP as a float, but it's already been changed to an int16 (ai_pet_dummy.h:57)

xelloss
Posts: 57
Joined: Sat Mar 09, 2013 1:09 am

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by xelloss » Fri Jun 20, 2014 2:09 am

kjLotus wrote:i'm not seeing it. it compiled fine for me on 14.04 as well, are you sure your git pull worked properly? it's saying that "m_PMobSkill->setTP(m_skillTP);" is using m_skillTP as a float, but it's already been changed to an int16 (ai_pet_dummy.h:57)
Using the same commands I always do, no errors remarked on the pull. Just tried again, still faulting out on the same location. Since this is a brand new build after OS migration, I'll just try a new clone and see if that works...

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by kjLotus » Fri Jun 20, 2014 2:10 am

if ai_pet_dummy.h:57 is a float, didn't pull right. if it's an int, maybe you'd want to do a make clean first (if you don't already do so)

xelloss
Posts: 57
Joined: Sat Mar 09, 2013 1:09 am

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by xelloss » Fri Jun 20, 2014 2:17 am

kjLotus wrote:if ai_pet_dummy.h:57 is a float, didn't pull right. if it's an int, maybe you'd want to do a make clean first (if you don't already do so)
rm -rf and git clone fixed the issue. I'm not sure why it didn't pull right though; no errors were reported by git; and I know it got the new SQL files because the DB script saw and updated them.

Code: Select all

$cd darkstar
$git fetch
$git checkout origin/master
$sh autogen.sh
$CPPFLAGS=-m32 CXXFLAGS=-m32 ./configure
$make
$sh sqlupdate.sh
My normal FFXI server update process; anything blatantly apparent why it would pull incorrectly?

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Ubuntu Server 13.04 Setup - x86 & x64

Post by kjLotus » Fri Jun 20, 2014 2:23 am

can't say, that might not have even been the problem.

i just use git pull origin master :\

Post Reply