Board.KolibriOS.org
http://board.kolibrios.org/

Building Kpack on Linux
http://board.kolibrios.org/viewtopic.php?f=23&t=2246
Страница 1 из 1

Автор:  esevece [ Вс мар 03, 2013 2:51 am ]
Заголовок сообщения:  Building Kpack on Linux

Hi,
I'm trying to build kpack for linux on my Ubuntu machine. But I get the next errors:
Код:
kpack.o: In function `_start':
(.text+0x5e8): undefined reference to `putchar'
kpack.o: In function `_start':
(.text+0x614): undefined reference to `fopen'
kpack.o: In function `_start':
(.text+0x630): undefined reference to `ftell'
kpack.o: In function `_start':
(.text+0x640): undefined reference to `fseek'
kpack.o: In function `_start':
(.text+0x64c): undefined reference to `ftell'
kpack.o: In function `_start':
(.text+0x65e): undefined reference to `fseek'
kpack.o: In function `_start':
(.text+0x67f): undefined reference to `malloc'
kpack.o: In function `_start':
(.text+0x69e): undefined reference to `fread'
kpack.o: In function `_start':
(.text+0x6c8): undefined reference to `fwrite'
kpack.o: In function `_start':
(.text+0x6e8): undefined reference to `fclose'
kpack.o: In function `_start':
(.text+0x6fd): undefined reference to `free'
kpack.o: In function `_start':
(.text+0x70f): undefined reference to `exit'

Some suggestion?

Автор:  SoUrcerer [ Вс мар 03, 2013 11:45 am ]
Заголовок сообщения:  Re: Building Kpack on Linux

Link it to libc.

Автор:  Mario_r4 [ Вс мар 03, 2013 3:38 pm ]
Заголовок сообщения:  Re: Building Kpack on Linux

esevece
http://websvn.kolibrios.org/listing.php ... 3640bc5ef9
You use these sources? Or others?

Автор:  esevece [ Вт мар 05, 2013 3:36 am ]
Заголовок сообщения:  Re: Building Kpack on Linux

SoUrcerer писал(а):
Link it to libc.

How can I do that?

Mario_r4 писал(а):
esevece
http://websvn.kolibrios.org/listing.php ... 3640bc5ef9
You use these sources? Or others?

Yes. I'm using these on Ubuntu 12.04 64 bits.

Автор:  esevece [ Ср мар 13, 2013 5:22 pm ]
Заголовок сообщения:  Re: Building Kpack on Linux

Now works!
Thank you.

Автор:  SoUrcerer [ Ср мар 13, 2013 5:26 pm ]
Заголовок сообщения:  Re: Building Kpack on Linux

You used 32-bit libc for linking this time, right?

Автор:  esevece [ Ср мар 13, 2013 7:52 pm ]
Заголовок сообщения:  Re: Building Kpack on Linux

I don't know.
I have removed the directory where I had the source of Kolibri, and I have run "svn co svn://kolibrios.org" to recreate the directory. After that I tried to build kpack and an error appeared that said something like I have to compile it as 32 bits (no the errors that I posted in the first post). So, I added "-m32" to the line of build.sh where calls to gcc.

Страница 1 из 1 Часовой пояс: UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/