All of lore.kernel.org
 help / color / mirror / Atom feed
* static build on two machine
@ 2012-07-04 12:06 Mohsen Pahlevanzadeh
  2012-07-04 13:36 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Mohsen Pahlevanzadeh @ 2012-07-04 12:06 UTC (permalink / raw)
  To: alsa-devel


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

Dear all,

My co-worker built alsa-lib-1.0.25 and now, i should work on this
project, So i get it and compile and compile with the following
commands:
        libtoolize --force --copy --automake
        aclocal
        autoheader
        automake --foreign --copy --add-missing
        autoconf
	./configure --enable-shared=no --enable-static=yes
--prefix=/usr/i686 ;make install
Now, When i compile my own software, i get two warning however my
co-worker doesn't get them:
///////////////////////
/usr/i686/lib/libasound.a(pcm_dmix.o):-1: In function
`snd_pcm_dmix_sync_ptr':
pcm_dmix.c:-1: warning: Warning: snd_pcm_hwsync() is deprecated,
consider to use snd_pcm_avail()
/////////////////////////
When i run  my program my program that my co-worker wrote, crashed, But
when he run it, it's crashed.
How can i solve this problem?

--Best regards
Mohsen.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: static build on two machine
  2012-07-04 12:06 static build on two machine Mohsen Pahlevanzadeh
@ 2012-07-04 13:36 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2012-07-04 13:36 UTC (permalink / raw)
  To: Mohsen Pahlevanzadeh; +Cc: alsa-devel

Mohsen Pahlevanzadeh wrote:
> When i compile my own software, i get two warning however my
> co-worker doesn't get them:
> ///////////////////////
> /usr/i686/lib/libasound.a(pcm_dmix.o):-1: In function `snd_pcm_dmix_sync_ptr':
> pcm_dmix.c:-1: warning: Warning: snd_pcm_hwsync() is deprecated, consider to use snd_pcm_avail()

You probably have different compiler options or library versions.

> When i run  my program my program that my co-worker wrote, crashed, But
> when he run it, it's crashed.

Sounds like a bug somewhere.


Regards,
Clemens

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-04 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 12:06 static build on two machine Mohsen Pahlevanzadeh
2012-07-04 13:36 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.