LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how can i compile a program on debian i386 that builds on a 64-bit ubuntu? (https://www.linuxquestions.org/questions/programming-9/how-can-i-compile-a-program-on-debian-i386-that-builds-on-a-64-bit-ubuntu-915373/)

kline 11-24-2011 01:58 PM

how can i compile a program on debian i386 that builds on a 64-bit ubuntu?
 
i have a program that includes openAL and works on my 4-CPU tower ubuntu. The 32-bit version of openAL is missing a header, alut.h and where i touch the alut*() functions, my program won't compile. the i386 computer runs debian.

anybody know what i need to apt-get install on my debian laptop to get my test program working?

thanks for any help!

jhwilliams 11-24-2011 02:56 PM

Hi Gary,

The Debian package providing /usr/include/AL/alut.h is called libalut-dev.

Code:

sudo apt-get install libalut-dev
HTH,
Jameson

kline 11-24-2011 03:34 PM

Quote:

Originally Posted by jhwilliams (Post 4533059)
Hi Gary,

The Debian package providing /usr/include/AL/alut.h is called libalut-dev.

Code:

sudo apt-get install libalut-dev
HTH,
Jameson

YES; it works!! now tell me why i couldn't find this after a day of hunting and you winn5 gold stars!!

endless thanks....

gary

PS: this makes kernel hacking on UNIX {tm} look trivial ... mumble.

jhwilliams 11-24-2011 03:57 PM

I agree, the headers could be easier to find. On Debian/Ubuntu stuff is usually following the lib<whatever>-dev convention, though.


All times are GMT -5. The time now is 03:33 PM.