public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Bastian Germann <bastiangermann@fishpost.de>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] alure 1.2
Date: Mon, 17 Oct 2016 13:46:00 -0000	[thread overview]
Message-ID: <32c91db6-8a6b-c02d-559f-babb16417c3a@fishpost.de> (raw)
In-Reply-To: <ffd657e7-f0e8-1d2f-b96d-ddfe44b1c883@gmail.com>

Am 16.10.2016 um 23:30 schrieb Marco Atzeri:
> However I suggest to not build the static library
> and to install only the shared one, as this is the default
> on cygwin.

Ok.

> Any reason to not add FLAC (Free Lossless Audio Codec)
> dependency ?

Yes, there is a reason: The symbols used from FLAC/stream_decoder.h
cannot be linked:

[ 70%] Linking CXX shared library cygalure-1.dll
CMakeFiles/alure.dir/src/codec_flac.o: In function
`flacStream::GetLength()':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:160: undefined reference
to `FLAC__stream_decoder_get_total_samples'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:160:(.text$_ZN10flacStream9GetLengthEv[_ZN10flacStream9GetLengthEv]+0x5):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_get_total_samples'
CMakeFiles/alure.dir/src/codec_flac.o: In function `flacStream::Rewind()':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:148: undefined reference
to `FLAC__stream_decoder_seek_absolute'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:148:(.text$_ZN10flacStream6RewindEv[_ZN10flacStream6RewindEv]+0xf):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_seek_absolute'
CMakeFiles/alure.dir/src/codec_flac.o: In function
`flacStream::GetData(unsigned char*, unsigned int)':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:138: undefined reference
to `FLAC__stream_decoder_process_single'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:138:(.text$_ZN10flacStream7GetDataEPhj[_ZN10flacStream7GetDataEPhj]+0x73):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_process_single'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:139: undefined reference
to `FLAC__stream_decoder_get_state'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:139:(.text$_ZN10flacStream7GetDataEPhj[_ZN10flacStream7GetDataEPhj]+0x8a):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_get_state'
CMakeFiles/alure.dir/src/codec_flac.o: In function
`flacStream::~flacStream()':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:191: undefined reference
to `FLAC__stream_decoder_finish'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:191:(.text$_ZN10flacStreamD1Ev[_ZN10flacStreamD1Ev]+0x1d):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_finish'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:192: undefined reference
to `FLAC__stream_decoder_delete'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:192:(.text$_ZN10flacStreamD1Ev[_ZN10flacStreamD1Ev]+0x26):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_delete'
CMakeFiles/alure.dir/src/codec_flac.o: In function
`flacStream::~flacStream()':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:191: undefined reference
to `FLAC__stream_decoder_finish'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:191:(.text$_ZN10flacStreamD0Ev[_ZN10flacStreamD0Ev]+0x1d):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_finish'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:192: undefined reference
to `FLAC__stream_decoder_delete'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:192:(.text$_ZN10flacStreamD0Ev[_ZN10flacStreamD0Ev]+0x26):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_delete'
CMakeFiles/alure.dir/src/codec_flac.o: In function
`flacStream::flacStream(std::istream*)':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:169: undefined reference
to `FLAC__stream_decoder_new'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:169:(.text$_ZN11DecoderDeclI10flacStreamLi1EE7FactoryEPSi[_ZN11DecoderDeclI10flacStreamLi1EE7FactoryEPSi]+0xb0):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_new'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:172: undefined reference
to `FLAC__stream_decoder_init_stream'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:172:(.text$_ZN11DecoderDeclI10flacStreamLi1EE7FactoryEPSi[_ZN11DecoderDeclI10flacStreamLi1EE7FactoryEPSi]+0x117):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol
`FLAC__stream_decoder_init_stream'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:182: undefined reference
to `FLAC__stream_decoder_delete'
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:182:(.text$_ZN11DecoderDeclI10flacStreamLi1EE7FactoryEPSi[_ZN11DecoderDeclI10flacStreamLi1EE7FactoryEPSi]+0x128):
additional relocation overflows omitted from the output
CMakeFiles/alure.dir/src/codec_flac.o: In function `flacStream::InitFlac()':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:209: undefined reference
to `FLAC__stream_decoder_process_single'
CMakeFiles/alure.dir/src/codec_flac.o: In function
`flacStream::flacStream(std::istream*)':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:180: undefined reference
to `FLAC__stream_decoder_finish'
CMakeFiles/alure.dir/src/codec_flac.o: In function `flacStream::InitFlac()':
/usr/src/debug/alure-1.2-1/src/codec_flac.cpp:210: undefined reference
to `FLAC__stream_decoder_get_state'

> Additional, the upstream package has no manuals
> for the utils, but that is bad practice.
> Can you add the one from debian ?
> 
> https://anonscm.debian.org/cgit/pkg-games/alure.git/tree/debian

I will include them with the next iteration.

Regards,
Bastian

  reply	other threads:[~2016-10-17 13:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-17 10:32 Bastian Germann
2016-10-13 17:05 ` Bastian Germann
2016-10-15  9:29   ` David Stacey
2016-10-16 21:30   ` Marco Atzeri
2016-10-17 13:46     ` Bastian Germann [this message]
2016-10-17 19:38       ` Ken Brown
2016-10-17 21:46         ` Bastian Germann
2016-10-18  0:06           ` Bastian Germann
2016-10-24 12:37             ` Jon Turney
2016-10-24 17:21               ` SSH key for upload access Bastian Germann
2016-10-28 16:47                 ` Yaakov Selkowitz

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=32c91db6-8a6b-c02d-559f-babb16417c3a@fishpost.de \
    --to=bastiangermann@fishpost.de \
    --cc=cygwin-apps@cygwin.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).