🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #60262

statycznie z ncurses

#60262
From: vertigo
Date: Fri, 28 Oct 2005 13:29
15 lines
1178 bytes
Czesc

Chce skompilowac programik statycznie z ncurses.
Mam statyczne wersje ncurses.

Probowalem:
gcc -static progs.c -I/usr/include/ncurses progs.c -lncurses

to wyrzuca setki bledow w libncurses.a w stylu:
undefined reference to stdscr

(jak usune -static to kompiluje ok, dla dynamicznie..)

Dzieki
Michal
Technical Details
Message-ID: <djt913$rlc$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: vertigo <root@none.pl>
Newsgroups: pl.comp.os.linux.programowanie
Subject: statycznie z ncurses
Date: Fri, 28 Oct 2005 15:29:00 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 15
Message-ID: <djt913$rlc$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: py98.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1130506083 28332 80.55.24.98 (28 Oct 2005 13:28:03 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Fri, 28 Oct 2005 13:28:03 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
X-Accept-Language: en-us, en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit