If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > error in compilation.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-03, 03:38
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
error in compilation.

Hi,

I am compiling a program an informix 4gl 7.32.UC1 and operative system suse linux 8.2, in the moment to create the objet or runable informix show me the following error.

The following errors were discovered during compilation.
cc: mercabarna.o: linker input file unused because linking not done
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
cannot
find -lcurses
collect2: ld returned 1 exit status


thank you for you help
Reply With Quote
  #2 (permalink)  
Old 09-26-03, 08:30
Sandor Sandor is offline
Registered User
 
Join Date: Jul 2003
Location: Munich
Posts: 26
Re: error in compilation.

You should install the ncurses-5.2 package on your system.
bye
Sandor
Reply With Quote
  #3 (permalink)  
Old 09-26-03, 09:40
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Hi,

where are alloacte ncurses-5.2 package

Thank you.
Reply With Quote
  #4 (permalink)  
Old 09-29-03, 03:39
Sandor Sandor is offline
Registered User
 
Join Date: Jul 2003
Location: Munich
Posts: 26
Hi

You can download it from
ATTENTION: It is ONE line!!!!

http://rpmseek.com/rpm/ncurses-5.2-2...0:162086:0:0:0

bye
Sandpr
Reply With Quote
  #5 (permalink)  
Old 10-02-03, 07:04
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Hi,

Where will be installed this libraries and from where will be execute.

Thank you.
Reply With Quote
  #6 (permalink)  
Old 10-02-03, 07:52
Sandor Sandor is offline
Registered User
 
Join Date: Jul 2003
Location: Munich
Posts: 26
It will be installed under

/usr/lib/libncurses.a
/usr/lib/libncurses.so

and the command -lcurses searches by default /usr/lib
Reply With Quote
  #7 (permalink)  
Old 10-03-03, 04:47
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Hi,

what is the procedure to install this libraries, what will be to do.

Thank you.
Reply With Quote
  #8 (permalink)  
Old 10-06-03, 03:03
Sandor Sandor is offline
Registered User
 
Join Date: Jul 2003
Location: Munich
Posts: 26
Smile

download the rpm package from
http://rpmseek.com/rpm-dl/ncurses-5....0:162086:0:0:0


as root install the package ncurses-5.2-283.i386.rpm

rpm -iv ncurses-5.2-283.i386.rpm
Reply With Quote
  #9 (permalink)  
Old 11-10-03, 12:05
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Hi,

I have Suse Linux 8.2

Thank you.
Reply With Quote
  #10 (permalink)  
Old 12-20-03, 07:57
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Hi, I has suse linux 8.2 and informix 7.32 UC1, when compiling a program object or runable informix show the following error:

usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
cannot
find -lcurses
collect2: ld returned 1 exit status


I download from http://rpmseek.com/rpm-dl/ncurses-5...:0:162086:0:0:0


as root install the package ncurses-5.2-283.i386.rpm

rpm -iv ncurses-5.2-283.i386.rpm

but the error continue.

Thank tou.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On