problem with #ident


 
Thread Tools Search this Thread
Operating Systems AIX problem with #ident
# 1  
Old 11-14-2007
problem with #ident

I have an application which was originally compiled for AIX 4.3.3 which I am trying to compile with xlc 8 on aix 5.2. This app defines a macro called IDENT. Unfortunately, /usr/include/curses.h checks if IDENT is defined and if so, then defines #ident. Since #ident is apparently not supported by AIX preprocessor, you get an error.

My question is what is the file /usr/include/curses.h intended for (it is bounded by the macro #ifndef _AIX32_CURSES...#endif)? Is there any way to get around this without modifying the app's source?

Thanks!
# 2  
Old 11-14-2007
curses is a library for driving tty screens in a device independant manner so you can do cursor control and fancy layout.
# 3  
Old 11-15-2007
curses

What is the curses file bounded by the aforementioned #ifndef?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Router problem or ISP problem ?

Hi everyone, I am experiencing discontinuity of Internet service, this started 1 month ago. Everything worked very well for 1 year of intensive use, but now, I have problems reaching my gateway. The gateway is not my router but a node belonging to my ISP and I share the same public IP with... (3 Replies)
Discussion started by: remic
3 Replies

2. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies

3. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

4. AIX

AIX OS problem? network problem?

Dear ALL. I installed AIX OS on customer sites. but Only one site is too slow when I connected telnet, ftp.. Ping is too fast. but telnet and FTP is not connected.. of course i check the configuration file on aix but it's normal. Do any Idea?? thanks in advance. - Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies

5. UNIX for Dummies Questions & Answers

sendmail auth/ident checking issue

Hi All, I have a problem sending mail to a host which seems to have sendmail configured to use Ident port (113) to check back on the mail sender. My problem is that this port is not enabled on the firewalls between sender and receiver so the ident checking and hence the mail is failing and... (0 Replies)
Discussion started by: Jublio
0 Replies

6. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

7. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

8. UNIX and Linux Applications

How to change ident in ircII

In ircII, how do I change the username and real name that shows up in the /whois ? (1 Reply)
Discussion started by: guitarscn
1 Replies

9. Programming

Regarding #ident macro

Hi, In my application I have some number c files. In each of the file the following line will be the first statement. #ident "@(#) set.c 14.1.2.2 05/15/01 17:06:32" I would like to know what is the use of the above statement. Thanks Sarwan (1 Reply)
Discussion started by: sarwan
1 Replies

10. Programming

what is #ident

what is the usage of #ident I found the following statemant in begining of the shell scirpt ... #ident "@(#) get.sh 6.12.1 09/30/97" and I found the following statement in C file #ident "@(#) getinp.h 5.1.2.1 07/11/97" Thanks Sarwan (1 Reply)
Discussion started by: sarwan
1 Replies
Login or Register to Ask a Question