[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [patch #3403] serial.c fails to compile on hpux 10.20
From: |
Gopal.V |
Subject: |
[Pnet-developers] [patch #3403] serial.c fails to compile on hpux 10.20 s800 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 |
This mail is an automated notification from the patch tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[patch #3403] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Thu 09/30/2004 at 12:56 (Asia/Calcutta)
------------------ Additional Follow-up Comments ----------------------------
Please try
#include <sys/modem.h>
#ifndef CRTSCTS
# ifdef CNEW_RTSCTS
# define CRTSCTS CNEW_RTSCTS
# else
# define CRTSCTS 0
# endif /* CNEW_RTSCTS */
#endif /* !CRTSCTS */
instead of your patch and report back the success. This code
has been pulled out of a hat and I haven't got HPUX here .
/**************************************************************************/
[patch #3403] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3403>
Project: DotGNU Portable.NET
Submitted by: Vincent Fortier
On: Thu 09/30/2004 at 11:35
Category: None
Priority: 5 - Normal
Resolution: None
Privacy: Public
Assigned to: None
Originator Email:
Status: Open
Summary: serial.c fails to compile on hpux 10.20 s800
Original Submission: Here is the error log:
serial.c: In function `ILSerialModify':
serial.c:398: error: `CRTSCTS' undeclared (first use in this function)
serial.c:398: error: (Each undeclared identifier is reported only once
serial.c:398: error: for each function it appears in.)
serial.c: In function `ILSerialReadPins':
serial.c:473: error: `MDCD' undeclared (first use in this function)
serial.c:479: error: `MCTS' undeclared (first use in this function)
serial.c:485: error: `MDSR' undeclared (first use in this function)
serial.c:491: error: `MDTR' undeclared (first use in this function)
serial.c:497: error: `MRTS' undeclared (first use in this function)
serial.c:503: error: `MRI' undeclared (first use in this function)
serial.c: In function `ILSerialWritePins':
serial.c:529: error: `MDTR' undeclared (first use in this function)
serial.c:546: error: `MRTS' undeclared (first use in this function)
gmake[1]: *** [serial.o] Error 1
gmake[1]: Leaving directory `/tmp/download/pnet/pnet-0.6.8/support'
gmake: *** [all-recursive] Error 1
I simply added definitions for thoses variables (starting at line 213):
#ifndef CRTSCTS
#define CRTSCTS 0
#endif
#ifndef MDCD
#define MDCD 0
#endif
#ifndef MCTS
#define MCTS 0
#endif
#ifndef MDSR
#define MDSR 0
#endif
#ifndef MDTR
#define MDTR 0
#endif
#ifndef MRTS
#define MRTS 0
#endif
#ifndef MRI
#define MRI 0
#endif
Follow-up Comments
------------------
-------------------------------------------------------
Date: Thu 09/30/2004 at 12:56 By: Gopal.V <t3rmin4t0r>
Please try
#include <sys/modem.h>
#ifndef CRTSCTS
# ifdef CNEW_RTSCTS
# define CRTSCTS CNEW_RTSCTS
# else
# define CRTSCTS 0
# endif /* CNEW_RTSCTS */
#endif /* !CRTSCTS */
instead of your patch and report back the success. This code
has been pulled out of a hat and I haven't got HPUX here .
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3403>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/