Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

syntax error in VERSION script: compiling for ppc

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


akr at mail

Nov 17, 2009, 1:48 AM

Post #1 of 2 (345 views)
Permalink
syntax error in VERSION script: compiling for ppc

Hello
Im trying to compile the cherokee 0.99.27 to a ppc with embedded linux
installed.
I have got several errors, when compiling. But the last one, i cant
figure out how to solve it.
To do a configure i am typing:

CC=powerpc-linux-gcc ./configure --prefix=/c/install_dir
--host=powerpc-linux


This seems to run fine, and i get a status at the end, with a overview of
the values and configs.

But the problem appears when i then try to do a make.
When typing make, it runs for some pages, and then the error is output:

c:/sdk/gallega/powerpc/bin/../lib/gcc/powerpc-linux/4.2.2/../../../../powerpc-linux/bin/ld.exe:.libs/libcherokee-base.ver:2:
syntax error in VERSION script

collect2: ld returned 1 exit status

make[2]: *** [libcherokee-base.la] Error 1

make[2]: Leaving directory `c:/cherokee-0.99.24/cherokee'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `c:/cherokee-0.99.24'

make: *** [all] Error 2


I do the compile process on a winxp machine using MinGw, Where the
enviroment path is set to the destination of the compiler.

The compiler works fine with other applications, so i dont expect that to
be the problem.

This error message is with version 0.99.24, and I also tried with .27.
[compose.cgi?to=cherokee [at] lists]


alvaro at octality

Nov 17, 2009, 1:56 AM

Post #2 of 2 (324 views)
Permalink
Re: syntax error in VERSION script: compiling for ppc [In reply to]

Hello there,

On 17/11/2009, at 10:48, akr [at] mail wrote:

> Im trying to compile the cherokee 0.99.27 to a ppc with embedded linux installed.
> I have got several errors, when compiling. But the last one, i cant figure out how to solve it.
> To do a configure i am typing:
> CC=powerpc-linux-gcc ./configure --prefix=/c/install_dir --host=powerpc-linux
> This seems to run fine, and i get a status at the end, with a overview of the values and configs.
>
> But the problem appears when i then try to do a make.
> When typing make, it runs for some pages, and then the error is output:
>
> c:/sdk/gallega/powerpc/bin/../lib/gcc/powerpc-linux/4.2.2/../../../../powerpc-linux/bin/ld.exe:.libs/libcherokee-base.ver:2: syntax error in VERSION script

I haven't worked much on this sort of stuff. Actually, I have no idea what could be failing. However, I'd recommend you to check out these resources, they might give you some insights:

http://alobbs.com/news/1201
http://alobbs.com/news/1299
http://unixwars.com/2008/07/17/c/

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.