Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-01-2004, 10:40 AM
|
#1
|
LQ Newbie
Registered: Mar 2004
Posts: 3
Rep:
|
how to solve parse errors in C program??
Hi,
I am getting Parse errors in a header file, which is written in C language. I am running it on LINUX OS. I checked the lines in which it is giving parse errors but I didn't find anyhting wrong. Can anybody tell me how to solve these errors?? is there any tools find out the parse errors or hidden characters ??? The output is
/usr/local/include/vipl.h:74: parse error before "VIP_UNIT64"
/usr/local/include/vipl.h:75: parse error before "VIP_UNIT32"
/usr/local/include/vipl.h:76: parse error before "VIP_UNIT16"
/usr/local/include/vipl.h:77: parse error before "VIP_UNIT8"
/usr/local/include/vipl.h:100: parse error before "VIP_MEM_HANDLE"
/usr/local/include/vipl.h:112: parse error before "VIP_UINT16"
/usr/local/include/vipl.h:114: parse error before "HostAddress"
/usr/local/include/vipl.h:115: parse error before '}' token
/usr/local/include/vipl.h:145: parse error before "VIP_UINT16"
/usr/local/include/vipl.h:146: parse error before '*' token
/usr/local/include/vipl.h:148: parse error before "MaxDiscriminatorLen"
/usr/local/include/vipl.h:162: parse error before '}' token
/usr/local/include/vipl.h:175: parse error before "VIP_UINT64"
/usr/local/include/vipl.h:177: parse error before '}' token
/usr/local/include/vipl.h:184: parse error before "VIP_PVOID64"
/usr/local/include/vipl.h:186: parse error before "SegCount"
/usr/local/include/vipl.h:187: parse error before "Control"
/usr/local/include/vipl.h:188: parse error before "Reserved"
/usr/local/include/vipl.h:189: parse error before "ImmediateData"
/usr/local/include/vipl.h:190: parse error before "Length"
/usr/local/include/vipl.h:191: parse error before "Status"
/usr/local/include/vipl.h:199: parse error before "VIP_PVOID64"
/usr/local/include/vipl.h:201: parse error before "Reserved"
/usr/local/include/vipl.h:209: parse error before "VIP_PVOID64"
/usr/local/include/vipl.h:211: parse error before "Length"
/usr/local/include/vipl.h:217: parse error before "VIP_ADDRESS_SEGMENT"
/usr/local/include/vipl.h:227: parse error before "VIP_CONTROL_SEGMENT"
/usr/local/include/vipl.h:229: parse error before '}' token
/usr/local/include/vipl.h:347: parse error before "VIP_DESCRIPTOR"
/usr/local/include/vipl.h:351: parse error before '}' token
/usr/local/include/vipl.h:387: parse error before "VIP_NET_ADDRESS"
/usr/local/include/vipl.h:389: parse error before '}' token
/usr/local/include/vipl.h:396: parse error before string constant
Thanks.
Last edited by divya; 04-01-2004 at 11:00 AM.
|
|
|
04-01-2004, 10:44 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
What SDK is this...? Maybe others had it installed already?
|
|
|
04-01-2004, 10:49 AM
|
#3
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
Can you please post the output? I don't think anyone here is capable of mindreading.
|
|
|
04-01-2004, 11:02 AM
|
#4
|
LQ Newbie
Registered: Apr 2004
Posts: 3
Rep:
|
Hi,
you can possibly solve your problem opening the file with another editor. Vi, Vim, gvim, emacs or xemacs are trusted by a lot of people and they usually don't hide control characters. Try to open it with one of these, and see what happens.
Regards,
Antón
|
|
|
04-01-2004, 11:19 AM
|
#5
|
LQ Newbie
Registered: Mar 2004
Posts: 3
Original Poster
Rep:
|
Hi,
I opened that file with emacs editor I am nto seeing any control characters. Could you please tell me how to use that editor to solve those parse errors
Thanks,
divya
|
|
|
All times are GMT -5. The time now is 05:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|