Skip to contentSkip to conversation

static build on two machine

DISCUSSION Mohsen Pahlevanzadeh 2 participants 2 messages Jul 4, 2012

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 5 lines · Mohsen Pahlevanzadeh

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.

Quoted 2 lines

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