LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2003, 12:16 PM   #1
Sammy2ooo
Member
 
Registered: Jan 2003
Location: nearby switzerland
Distribution: Suse 8.0 / Suse 9.0 / Slackware 9.1 / Debian Sarge testing / Gentoo 1.4.10
Posts: 165

Rep: Reputation: 30
XFree86 gcc -lncurses question


Hi

i 've bought the new amilo a 7600 notebook witch has a radeon igp 320m graphiccard integreated. After installing suse 8 i am only able to use a screen resolution of 800x600. i've red a few things aboout Xfree86 and found out that only the new version 4.3.99 supports this graphic card. while trying to update X make tells me that
lncurses can not be found. but when i am looking into yast2 it says that ncurses is installed. Cant find anything regarding lncurses. the error occurd while make tries to execute the following commando:

gcc -o resize -02 -fno-strength-reduce -ansi -pedantic -Wall - Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs Wundef -L../../exports/lib resize.o xstrings.o -lncurses -Wl,-rpath-link,../../exports/lib /usr/i4386-suse-linux/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[4]: *** [resize] Error 1
make[4]: Leaving directory '/home/sammy/xc/programs/xterm'
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/sammy/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/sammy/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory '/home/sammy/xc'
make: *** [World] Error 2

Any help would be apreciated...

Friendly Regards

Sam
 
Old 06-14-2003, 03:00 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Look where you have ncurses (the library name is libncurses) using
locate libncurses
One of the results should be /lib/libncurses.so or /usr/lib/libncurses.so. Do you have any of them?
 
Old 06-19-2003, 09:20 PM   #3
ether_joe
LQ Newbie
 
Registered: Apr 2003
Location: Bay Area, CA
Distribution: Debian Woody
Posts: 9

Rep: Reputation: 0
I'm having a similar problem on Debian

Me too, I'm trying to upgrade my kernel and make menuconfig says I don't have ncurses installed. But I'm pretty sure I do and it just can't find the libraries or something. (If I sound like a newbie that's because. . . I. . . am. . .)

I did a locate libncurses and got

/lib/libncurses.so.5
/lib/libncurses.so.5.2

among other things.

Debian 3.0 Woody. . .

What's the next step? Thanks!
 
Old 06-19-2003, 09:36 PM   #4
ether_joe
LQ Newbie
 
Registered: Apr 2003
Location: Bay Area, CA
Distribution: Debian Woody
Posts: 9

Rep: Reputation: 0
okay, I found a couple other helpful threads so far. So okay, no need to be redundant on my account. I just need to figure out what a header file is and why it's important, and why ncurses seems to be screwed up because of it. 8^)

http://www.linuxquestions.org/questi...light=lncurses

http://www.linuxquestions.org/questi...light=lncurses
 
Old 09-05-2003, 09:46 AM   #5
www.rzr.free.fr
Member
 
Registered: Sep 2003
Location: france
Distribution: debian / knoppix
Posts: 31

Rep: Reputation: 0
.deb

I have been tryed to compile it here too

If u success please release a .deb package ?

Last edited by www.rzr.free.fr; 09-05-2003 at 09:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ld: cannot find -lncurses davelw Linux - Software 2 06-12-2005 02:54 AM
XFree86.0.log question shanenin Linux - Software 6 04-14-2004 01:49 PM
kernel config -lncurses grimslater Linux - Software 2 12-01-2003 02:38 PM
XFree86 4.3 question... oubipaws Linux - Software 1 07-25-2003 01:37 PM
Xfree86 Question cclavey Linux - Newbie 1 03-13-2003 09:58 PM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration