mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: dave festing <dave_festing@hotmail.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Error in compiling libpng
Date: Sat, 13 Jul 2013 05:07:29 +0000	[thread overview]
Message-ID: <BAY171-W15122FE9E055AAB2B1CBB3E2650@phx.gbl> (raw)
In-Reply-To: <loom.20130709T111601-189@post.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 3770 bytes --]

Frederic,

Juergen gave me this command when I was having problems with line endings:

sed 's/.$//' daves_old_file > daves_new_file

HTH,
Dave

> To: ptxdist@pengutronix.de
> From: fdufnews@free.fr
> Date: Tue, 9 Jul 2013 09:35:24 +0000
> Subject: [ptxdist] Error in compiling libpng
> 
> Hi,
> 
> I am compiling a new kernel and filesystem for my mini2440 using
> "OSELAS.BSP-Pengutronix-Mini2440-2012.12.0" the last release supporting
> mini2440 as I understand (or am I wrong?). I receive this error message
> during compilation of libpng
> 
> -------------------------------------------------------------------------
> ----------------------
> target: libpng.compile
> ----------------------
> 
> make[1]: Entering directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
> 
> make  all-am
> 
> make[2]: Entering directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
> 
> /bin/bash ./libtool --tag=CC   --mode=link arm-v4t-linux-gnueabi-gcc  -g -O2 
> -no-undefined -export-dynamic -version-number 0:50:0 -Wl,
> --version-script=libpng.vers   -o libpng12.la -rpath /usr/lib libpng12_la-png.lo
>  libpng12_la-pngset.lo libpng12_la-pngget.lo libpng12_la-pngrutil.lo
>  libpng12_la-pngtrans.lo libpng12_la-pngwutil.lo libpng12_la-pngread.lo
>  libpng12_la-pngrio.lo libpng12_la-pngwio.lo libpng12_la-pngwrite.lo
>  libpng12_la-pngrtran.lo libpng12_la-pngwtran.lo libpng12_la-pngmem.lo
>  libpng12_la-pngerror.lo libpng12_la-pngpread.lo  -lz -lm 
>  libtool: link: arm-v4t-linux-gnueabi-gcc -shared  .libs/libpng12_la-png.o
>  .libs/libpng12_la-pngset.o .libs/libpng12_la-pngget.o
>  .libs/libpng12_la-pngrutil.o .libs/libpng12_la-pngtrans.o
>  .libs/libpng12_la-pngwutil.o .libs/libpng12_la-pngread.o
>  .libs/libpng12_la-pngrio.o .libs/libpng12_la-pngwio.o
>  .libs/libpng12_la-pngwrite.o .libs/libpng12_la-pngrtran.o
>  .libs/libpng12_la-pngwtran.o .libs/libpng12_la-pngmem.o
>  .libs/libpng12_la-pngerror.o .libs/libpng12_la-pngpread.o
>  -lz -lm  -Wl,--version-script=libpng.vers   -Wl,-soname -Wl,libpng12.so.0
>   -o .libs/libpng12.so.0.50.0
> /opt/OSELAS.Toolchain-2012.12.0/arm-v4t-linux-gnueabi/gcc-4.7.2-glibc-2.16.0
> -binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-v4t-linux-gnueabi/4.7.2/../../..
> /../arm-v4t-linux-gnueabi/bin/ld:libpng.vers:1: syntax error in VERSION script
> 
> collect2: error: ld returned 1 exit status
> make[2]: *** [libpng12.la] Error 1
> make[2]: Leaving directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
> make: *** [/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutronix-Mini2440-2012.
> 12.0/platform-mini2440/state/libpng.compile] Error 2
> 
> 
> ---------------------------------------------------------------------------
> as the compose message window is limited to 80 characters per line
> it will be a bit a mess for you to undertand the screen copy.
> 
> as far as I understand there is an error in libpng.vers file
> 
> I copyed libpng.vers content just under
> 
> 
> PNG12_0 {global:
> local: *; };
> 
> As the file looks strange (to me) I supposed there was a LF accidentally
> inserted between "global:" and "local" so I suppressed it but this lead to
> the same error.
> 
> If you can help me.
> 
> Regards,
> 
> Frederic
> 
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 4444 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2013-07-13  5:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09  9:35 Frederic DUFOURG
2013-07-13  5:07 ` dave festing [this message]
2013-07-22  8:45 ` Jürgen Beisert
2013-08-16 12:42 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY171-W15122FE9E055AAB2B1CBB3E2650@phx.gbl \
    --to=dave_festing@hotmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox