nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 28 Mar 2024 14:37



This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Sprint в QNX 6.2.1 
Author Message
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Не удается собрать Sprint в QNX 6.2.1. При компиляции выдаются предупреждения о несоответствии типов, и ошибка об отсутствии lpthread кажется. Какие библиотеки требуются для сборки эмулятора ?


01 Mar 2004 00:27
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22412
Location: Silicon Valley
Mac Buster wrote:
Не удается собрать Sprint в QNX 6.2.1. При компиляции выдаются предупреждения о несоответствии типов, и ошибка об отсутствии lpthread кажется. Какие библиотеки требуются для сборки эмулятора ?


LIBRARIES = -lm -lSDL -lpthread

_________________
:dj: https://mastodon.social/@Shaos


01 Mar 2004 02:08
Profile WWW
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Post 
Quote:
LIBRARIES = -lm -lSDL -lpthread

Все библиотеки на месте, пути прописаны, но собираться не желает всё равно :( Вот что выдаёт make:

Quote:
# make
gcc -Wall -O2 -DSDL -I. -I/usr/include/SDL/ -c targa.cpp
gcc -Wall -O2 -DSDL -I. -I/usr/include/SDL/ -c unigraf.cpp -DFONT8X8 -DUNIFOPEN
unigraf.cpp: In method `UniGraf::~UniGraf()':
unigraf.cpp:227: warning: `void *' is not a pointer-to-object type
gcc -Wall -O2 -DSDL -I. -I/usr/include/SDL/ -c estex.cpp
gcc -Wall -O2 -DSDL -I. -I/usr/include/SDL/ -c z80/z80.cpp -o z80/z80.o
gcc -Wall -O2 -DSDL -I. -I/usr/include/SDL/ -c z80/z80_ops.cpp -o z80/z80_ops.o
gcc sprint.cpp -Wall -O2 -DSDL -I. -I/usr/include/SDL/ -o sprint -L. -lm -lSDL -lpthread targa.o unigraf.o es
tex.o z80/z80.o z80/z80_ops.o
sprint.cpp: In function `int main(int, char **)':
sprint.cpp:336: warning: comparison between signed and unsigned
sprint.cpp:345: warning: comparison between signed and unsigned
sprint.cpp:371: warning: comparison between signed and unsigned
/usr/bin/ntox86-ld: cannot find -lpthread
collect2: ld returned 1 exit status
make: *** [sprint] Error 1
#


04 Mar 2004 00:28
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.