473,503 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

syntax error near unexpected token `<bigaf>' - AIX C++ Application Porting from 32 bit to 64 bit

Hi,

Currently, we are porting C++ applications from 32 bit to 64 bit on AIX
platform. (The current version of AIX is 5.3 and xlC verison is 8.0).
We are able to compile the applications by including the -q64 option in
xlC compiler. And we are able to link all these libraries to one of
the main applications and generate an executable. SKLoader. But, when
we try to run this main executable, we are getting the following
errors:

../SKLoader: syntax error near unexpected token `<bigaf>'
../SKLoader: ./SKLoader: line 1: `<bigaf>'

Any help would be greatly appreciated.

Thanks,
-Nikhil

Dec 1 '05 #1
5 4472

r.*******@gmail.com wrote:
Hi,

Currently, we are porting C++ applications from 32 bit to 64 bit on AIX
platform. (The current version of AIX is 5.3 and xlC verison is 8.0).
We are able to compile the applications by including the -q64 option in
xlC compiler. And we are able to link all these libraries to one of
the main applications and generate an executable. SKLoader. But, when
we try to run this main executable, we are getting the following
errors:

./SKLoader: syntax error near unexpected token `<bigaf>'
./SKLoader: ./SKLoader: line 1: `<bigaf>'

Any help would be greatly appreciated.

Thanks,
-Nikhil


You've built an executable, so clearly your C++ code is compileable.
The only other question that people here will be able to answer is "why
doesn't my program do what I think it should?" To answer that, people
will still need to see the C++ code that is misbehaving, along with
descriptions of what happens and what you think should happen.

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

Gavin Deane

Dec 1 '05 #2
Hi,

Before making the changes into the Makefiles in order to make to
portable 64 bit, all the modules worked perfectly in 32 bit mode. The
error related to (syntax error near unexpected token `<bigaf>') started
occuring when I tried to run the application in 64 bit mode.

Thanks,
-Nikhil
deane_ga...@hotmail.com wrote:
r.*******@gmail.com wrote:
Hi,

Currently, we are porting C++ applications from 32 bit to 64 bit on AIX
platform. (The current version of AIX is 5.3 and xlC verison is 8.0).
We are able to compile the applications by including the -q64 option in
xlC compiler. And we are able to link all these libraries to one of
the main applications and generate an executable. SKLoader. But, when
we try to run this main executable, we are getting the following
errors:

./SKLoader: syntax error near unexpected token `<bigaf>'
./SKLoader: ./SKLoader: line 1: `<bigaf>'

Any help would be greatly appreciated.

Thanks,
-Nikhil


You've built an executable, so clearly your C++ code is compileable.
The only other question that people here will be able to answer is "why
doesn't my program do what I think it should?" To answer that, people
will still need to see the C++ code that is misbehaving, along with
descriptions of what happens and what you think should happen.

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

Gavin Deane


Dec 1 '05 #3
Please don't top-post - rearranged
r.*******@gmail.com wrote:
deane_ga...@hotmail.com wrote:
r.*******@gmail.com wrote:
Hi,

Currently, we are porting C++ applications from 32 bit to 64 bit on AIX
platform. (The current version of AIX is 5.3 and xlC verison is 8.0).
We are able to compile the applications by including the -q64 option in
xlC compiler. And we are able to link all these libraries to one of
the main applications and generate an executable. SKLoader. But, when
we try to run this main executable, we are getting the following
errors:

./SKLoader: syntax error near unexpected token `<bigaf>'
./SKLoader: ./SKLoader: line 1: `<bigaf>'

Any help would be greatly appreciated.

Thanks,
-Nikhil


You've built an executable, so clearly your C++ code is compileable.
The only other question that people here will be able to answer is "why
doesn't my program do what I think it should?" To answer that, people
will still need to see the C++ code that is misbehaving, along with
descriptions of what happens and what you think should happen.

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

Gavin Deane

Hi,

Before making the changes into the Makefiles in order to make to
portable 64 bit, all the modules worked perfectly in 32 bit mode. The
error related to (syntax error near unexpected token `<bigaf>') started
occuring when I tried to run the application in 64 bit mode.


Where does <bigaf> come from and what is your program trying to do when
it reports a syntax error? Is <bigaf> in a C++ source code file you are
trying to compile? Presumably not, since you are compiling
successfully. Is it in a file your program opens, reads and parses? If
so, people here might be able to help if you follow the guidelines for
posting code given in the FAQ I posted a link to. You would need to
show the C++ code that is reporting a syntax error and the input it
reported a syntax error in.

If you can't formulate a C++ language question then you'll have to ask
a newsgroup for your compiler or platform.

Gavin Deane

Dec 1 '05 #4
Hi,

The <bigaf> is coming from static libraries which we are linking to the
main application. These static libraries were developed by us and
worked excellent in the 32 bit mode. And we are able to generate the
static libraries(.a files) by making the modification to the Makefiles
in order to port the application to 64 bit. And we are able to link all
these libraries to one of the main applications and generate an
executable. SKLoader. But, when we try to run this main executable, we
are getting the following errors:

../SKLoader: syntax error near unexpected token `<bigaf>'
../SKLoader: ./SKLoader: line 1: `<bigaf>'

We even do not know why <bigaf> is coming from static libraries? All we
know is that bigaf is the file format used by ar (archive) command.
This is the command which we are using inside Makefile in order to
generate the main executables and static libraries.

Thanks,
-Nikhil
de*********@hotmail.com wrote:
Please don't top-post - rearranged
r.*******@gmail.com wrote:
deane_ga...@hotmail.com wrote:
r.*******@gmail.com wrote:
> Hi,
>
> Currently, we are porting C++ applications from 32 bit to 64 bit on AIX
> platform. (The current version of AIX is 5.3 and xlC verison is 8.0).
> We are able to compile the applications by including the -q64 option in
> xlC compiler. And we are able to link all these libraries to one of
> the main applications and generate an executable. SKLoader. But, when
> we try to run this main executable, we are getting the following
> errors:
>
> ./SKLoader: syntax error near unexpected token `<bigaf>'
> ./SKLoader: ./SKLoader: line 1: `<bigaf>'
>
> Any help would be greatly appreciated.
>
> Thanks,
> -Nikhil

You've built an executable, so clearly your C++ code is compileable.
The only other question that people here will be able to answer is "why
doesn't my program do what I think it should?" To answer that, people
will still need to see the C++ code that is misbehaving, along with
descriptions of what happens and what you think should happen.

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

Gavin Deane

Hi,

Before making the changes into the Makefiles in order to make to
portable 64 bit, all the modules worked perfectly in 32 bit mode. The
error related to (syntax error near unexpected token `<bigaf>') started
occuring when I tried to run the application in 64 bit mode.


Where does <bigaf> come from and what is your program trying to do when
it reports a syntax error? Is <bigaf> in a C++ source code file you are
trying to compile? Presumably not, since you are compiling
successfully. Is it in a file your program opens, reads and parses? If
so, people here might be able to help if you follow the guidelines for
posting code given in the FAQ I posted a link to. You would need to
show the C++ code that is reporting a syntax error and the input it
reported a syntax error in.

If you can't formulate a C++ language question then you'll have to ask
a newsgroup for your compiler or platform.

Gavin Deane


Dec 1 '05 #5

r.*******@gmail.com wrote:
Hi,

The <bigaf> is coming from static libraries which we are linking to the
main application. These static libraries were developed by us and
worked excellent in the 32 bit mode. And we are able to generate the
static libraries(.a files) by making the modification to the Makefiles
in order to port the application to 64 bit. And we are able to link all
these libraries to one of the main applications and generate an
executable. SKLoader. But, when we try to run this main executable, we
are getting the following errors:

./SKLoader: syntax error near unexpected token `<bigaf>'
./SKLoader: ./SKLoader: line 1: `<bigaf>'

We even do not know why <bigaf> is coming from static libraries? All we
know is that bigaf is the file format used by ar (archive) command.
This is the command which we are using inside Makefile in order to
generate the main executables and static libraries.


You are still top-posting. Please put your reply AFTER the message you
are replying to, or interleaved if you are commenting on particular
points.

What you've got isn't a C++ language question topical here as defined
by

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

You'll need to ask a newsgroup that deals with your particular compiler
and its 64 bit behavior

Gavin Deane

Dec 1 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5299
by: Bob Stearns | last post by:
The statement: merge into nullid.animals_et_in t1 using is3.animals t2 on t1.sire_assoc=t2.assoc and t1.sire_prefix=t2.prefix and t1.sire_regnum=t2.regnum when matched then update set...
2
19944
by: P | last post by:
Hi all, I'm trying to run the following code taken from http://blogs.ittoolbox.com/database/technology/archives/006045.asp# select substr(tablespace_name,1,30) as "Tablespace Name", case...
1
2269
by: gatorfalcon | last post by:
I'm using mysqli_multi_query to run multiple queries concatenated with a semicolon that I set using the HEREDOC format. What's weird is that this works fine on my development system on my laptop...
2
3498
by: Shrutisinha | last post by:
I am getting this error in unix .. syntax error near unexpected token `(' when i am running my parser , can anybody help me plzz .. i am new to all this thanks
3
2311
by: silambu | last post by:
hi,can anybody tell reason for getting syntax error near , while either updating or inserting records in table
4
6809
by: bhunesh | last post by:
hey , i m getting error listed below plz help me /virtualHosts/beta.myiris.com/htdocs/commodities/commd_admin/CRONJOB/new_cronjob/new_mcx.pl: line 14: syntax error near unexpected token...
4
3211
by: cluce | last post by:
I am getting a syntax error but I cant seem to spot it. need help with this. Its when I click the save button that fires my SQL UPDATE query. thansk in advance 'module level declarations Dim...
4
8322
by: manontheedge | last post by:
I'm using SSH Secure Shell to connect to a Linux machine ... when I try to run the compiled code I have, I keep getting these errors ... ./p2.c: line 5: syntax error near unexpected token `('...
1
2215
by: saronyo bose | last post by:
the given code does not run in linux mint isodara. on typing cc pg206(c).c in terminal it gives bash: syntax error near unexpected token `(' wat to do ........ the above code runs in...
0
7198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5570
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4998
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.