- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syntax error at line 2 : '<' unexpected
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 06:02 AM
08-16-2005 06:02 AM
syntax error at line 2 : '<' unexpected
U have to save my life.
Am migrating a system from AIX 4.3.3 to HP-UX 11.23 on itanium rx4640.
On the AIX, i have a payroll software which was compiled 20 years ago with micro focus C language.
I took the compiled file and tried to run it on the HP-UX 11.23. please see error below:
/sigprod/txa020/exec [9]$ RTSGIP
/sigprod/txa020/exec/RTSGIP: syntax error at line 2 : '<' unexpected
Please what do u undertsand from that error?
Hope to hear from you soon as usual.
BR
Horace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 06:14 AM
08-16-2005 06:14 AM
Re: syntax error at line 2 : '<' unexpected
Software compiled for AIX will NOT run on HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 06:29 AM
08-16-2005 06:29 AM
Re: syntax error at line 2 : '<' unexpected
I don't know anything about micro focus, but I really can't imagine that binaries compiled on AIX 20 ago may run on HP-UX 11.23.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 06:42 AM
08-16-2005 06:42 AM
Re: syntax error at line 2 : '<' unexpected
It's just not going to happen...
You need the source and you will need to re-compile.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 07:35 AM
08-16-2005 07:35 AM
Re: syntax error at line 2 : '<' unexpected
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 07:43 AM
08-16-2005 07:43 AM
Re: syntax error at line 2 : '<' unexpected
file /sigprod/txa020/exec/RTSGIP
(please don't misunderstand me - i think this is a shell script, but the rest of the posts still applies, You *NEED* a recompile)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 09:05 AM
08-16-2005 09:05 AM
Re: syntax error at line 2 : '<' unexpected
thanks for ur replies.
ok, in this case, once the hp server is bought already, i need to get a solution.
Can we go with an emulator, if yes please advice...
waiting ur replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 09:14 AM
08-16-2005 09:14 AM
Re: syntax error at line 2 : '<' unexpected
cat -v /sigprod/txa020/exec/RTSGIP | head -20
But I would be really concerned about expecting 20 year old software to run without extensive work to modernize and make compatible with your new machine.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 09:39 AM
08-16-2005 09:39 AM
Re: syntax error at line 2 : '<' unexpected
RTSGIP is the compiled file. i have a script that i run to it or else i run it directly.
waiting for replies....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 09:44 AM
08-16-2005 09:44 AM
Re: syntax error at line 2 : '<' unexpected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 09:54 AM
08-16-2005 09:54 AM
Re: syntax error at line 2 : '<' unexpected
Unless you have the source code, you are seriously out of luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 10:02 AM
08-16-2005 10:02 AM
Re: syntax error at line 2 : '<' unexpected
I'll try to say it as short and clear as possible:
two options:
- get the source code and a very experienced c programmer to port it to hp-ux
(more reasonable in the long term as You're dead in the water without it anyway)
- get a entry-level rs/6000
(entry level means 1.6GHz and 1GB nowadays)
Sorry to be that pessimistic, but this is as impossible as it gets.
(Oh, and yes, You could get some russian cracker to dissasemble and recompile it. or fly to the moon on my bike)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 11:58 PM
08-16-2005 11:58 PM
Re: syntax error at line 2 : '<' unexpected
my aim is to get one AIX emulator for linux
waiting replies....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 12:35 AM
08-17-2005 12:35 AM
Re: syntax error at line 2 : '<' unexpected
I don't believe there is such a beast. As hard as it is to accept, the other posters have the right answer. Just because your management doesn't want to accept it doesn't mean it's not correct.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 12:41 AM
08-17-2005 12:41 AM