LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-24-2011, 01:58 PM   #1
kline
Member
 
Registered: Aug 2008
Location: Seattle
Distribution: Ubuntu
Posts: 74

Rep: Reputation: 0
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!
 
Old 11-24-2011, 02:56 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 207Reputation: 207Reputation: 207
Hi Gary,

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

Code:
sudo apt-get install libalut-dev
HTH,
Jameson

Last edited by jhwilliams; 11-24-2011 at 02:58 PM.
 
Old 11-24-2011, 03:34 PM   #3
kline
Member
 
Registered: Aug 2008
Location: Seattle
Distribution: Ubuntu
Posts: 74

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by jhwilliams View Post
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.
 
Old 11-24-2011, 03:57 PM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot compile 32-bit applications on 64-bit ubuntu 9.04 maxreason Programming 7 06-07-2009 03:27 PM
cannot compile 32-bit application on 64-bit ubuntu 9.04 maxreason Ubuntu 5 06-06-2009 10:28 PM
make (compile program) 32 bit in 64 bit smkururu Linux - Newbie 12 05-31-2009 02:33 PM
Random Reboots Ubuntu 8.10 Intrepid i386 32 bit 10/4 Linux - Newbie 1 04-17-2009 08:30 AM
Need Cygwin cross compiler, that builds i386-elf binaries 7.e.Q Linux - Software 1 03-10-2006 02:39 AM


All times are GMT -5. The time now is 05:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration