Results 1 to 2 of 2
when cross compiling libpng i get this error. I googled for it but i didnt get exact answer. Anybody knows what will be the problem?
Code:
/mnt/freescale/toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld:libpng.vers:2: syntax error in ...
- 02-17-2010 #1Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
syntax error in VERSION script
when cross compiling libpng i get this error. I googled for it but i didnt get exact answer. Anybody knows what will be the problem?
i have these content inside "libpng.vers"Code:/mnt/freescale/toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld:libpng.vers:2: syntax error in VERSION script collect2: ld returned 1 exit status
Code:PNG12_0 {global: local: *; };Thanks in advance...
- 04-13-2010 #2Just Joined!
- Join Date
- Apr 2010
- Posts
- 1
Dear shariefbe:
I came across the same problem these days when cross-compiling libpng and found that it can be solved by simply remarking the line containing libpng.vers in your MAKEFILE (adding a # character in the beginning of that line). Your application will be able to link the compiled libpngl2.a and successfully run on ARM based devices.
Good luck!


Reply With Quote