PtokaX forum

PtokaX => Support => Topic started by: sabriel on 06 October, 2011, 03:30:09

Title: Problem with compiling ptoka 0.4.2.0
Post by: sabriel on 06 October, 2011, 03:30:09
Hello, sorry for my bad english.
I have problem with ptoka 0.4.2.0
lua 5.1.4, but i put make
result=
usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -llua-5.1
collect2: ld returned 1 exit status
make: *** [PtokaX] Error 1


Please help me :)
Title: Re: Problem with compiling ptoka 0.4.2.0
Post by: evakent on 11 October, 2011, 10:46:45
i've got the same problem.


i've installed dev-lang/lua-5.1.4-r4 and when i try make in ptokax folder at the end returns the following error:

/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -llua5.1
collect2: ld returned 1 exit status
make: *** [PtokaX] Error 1
Title: Re: Problem with compiling ptoka 0.4.2.0
Post by: evakent on 11 October, 2011, 10:53:45
Quote from: evakent on 11 October, 2011, 10:46:45
i've got the same problem.


i've installed dev-lang/lua-5.1.4-r4 and when i try make in ptokax folder at the end returns the following error:

/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -llua5.1
collect2: ld returned 1 exit status
make: *** [PtokaX] Error 1

i found the problem and fixed:

you must change -llua5.1 to -llua in the makefile