|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
gmake error, please help :)Hey all,
I'm running OpenBSD 4.2/i386 and am booting bsd.mp. I have brought over a linux program that uses gcc as the compiler. I have installed the following sets: - gmake-3.80p1.tgz - gettext-0.14.6p0.tgz - libiconv-1.9.2p3.tgz and when I do a "gmake" I get the following two errors: - " /bin/gmake[1]: ELF: not found" - "/bin/gmake[365]: no closing quote any ideas? Also, where ever I use gmake, it creates this garbage file of size 0 " ?A!@@r?@8 " and when I try to remove it, it says it doesn't exist... Thanks, v. |
|
|
Re: gmake error, please help :)vatocleti wrote:
> Hey all, > I'm running OpenBSD 4.2/i386 and am booting bsd.mp. I have brought over a > linux program that uses gcc as the compiler. > > I have installed the following sets: > > - gmake-3.80p1.tgz > - gettext-0.14.6p0.tgz > - libiconv-1.9.2p3.tgz > > and when I do a "gmake" I get the following two errors: > > - " /bin/gmake[1]: ELF: not found" > - "/bin/gmake[365]: no closing quote > > any ideas? > > Thanks, > v. > > |
|
|
Re: gmake error, please help :)On Thu, May 08, 2008 at 10:22:01AM -0700, vatocleti wrote:
> Hey all, Hi. > I'm running OpenBSD 4.2/i386 and am booting bsd.mp. I have brought over a > linux program that uses gcc as the compiler. > > I have installed the following sets: > > - gmake-3.80p1.tgz > - gettext-0.14.6p0.tgz > - libiconv-1.9.2p3.tgz > > and when I do a "gmake" I get the following two errors: > > - " /bin/gmake[1]: ELF: not found" > - "/bin/gmake[365]: no closing quote Where does /bin/gmake come from ? The gmake from gmake-3.80p1.tgz lives in /usr/local/bin/gmake (And your /bin/gmake looks like a shell script. Did you take a look at this script?) HTH, Andreas. -- Windows 95: A 32-bit patch for a 16-bit GUI shell running on top of an 8-bit operating system written for a 4-bit processor by a 2-bit company who cannot stand 1 bit of competition. |
|
|
Re: gmake error, please help :)Hi, This worked for me on a different system running the amd64 image, but trying the same process with the same sets on a i386 (bsd.mp) image, I get the error...not sure why? If I have a linux app, should I be able to build with the native bsd make or do I need GNU (gmake)? thanks in advance. |
|
|
Re: gmake error, please help :)On Thu, May 8, 2008 at 1:05 PM, vatocleti <un_ave@...> wrote:
... > This worked for me on a different system running the amd64 image, but > trying the same process with the same sets on a i386 (bsd.mp) image, I get > the error...not sure why? amd64 and i386 are NOT interchangeable or compatible: you cannot run an amd64 binary under the i386 kernel, nor vice versa. (I'm actually surprised that the packages installed. Did you copy the binaries over instead of installing the packages? Or did you override pkg_add's warnings and use the -A or -Farch options?) > If I have a linux app, should I be able to build > with the native bsd make or do I need GNU (gmake)? That depends on whether the app's makefiles were written to require GNU make or not. Since you didn't say what app this is, we can't answer the question. Of course, if this app has been added to the ports tree then building it from there would be the simplest way forward. Philip Guenther |
|
|
Re: gmake error, please help :)vatocleti wrote:
> Louis V. Lambrecht-3 wrote: > >> vatocleti wrote: >> >>> Hey all, >>> I'm running OpenBSD 4.2/i386 and am booting bsd.mp. I have brought over >>> a >>> linux program that uses gcc as the compiler. >>> >>> I have installed the following sets: >>> >>> - gmake-3.80p1.tgz >>> - gettext-0.14.6p0.tgz >>> - libiconv-1.9.2p3.tgz >>> >>> and when I do a "gmake" I get the following two errors: >>> >>> - " /bin/gmake[1]: ELF: not found" >>> - "/bin/gmake[365]: no closing quote >>> >>> any ideas? >>> >>> Thanks, >>> v. >>> >>> >>> >> gmake != gcc != g++ >> >> >> >> > Hi, > This worked for me on a different system running the amd64 image, but > trying the same process with the same sets on a i386 (bsd.mp) image, I get > the error...not sure why? If I have a linux app, should I be able to build > with the native bsd make or do I need GNU (gmake)? > > thanks in advance. > - you list 3 applications you installed, to compile with gcc, but you don't list gcc - you have an error /bin/gmake[1]: ELF: not found line 1, the shabang. on my system which gmake returns /usr/local/bin/gmake - an error as "no closing quotes" can be what it means. It can be an error of the author. It can be caused by a Linuxism as using Ctrl+Enter to write a non-breaking space. Can be caused by a plain cp from one slice to the other without using FTP or NFS (which make the needed conversions as dos2unix ...) List goes on. Can be a bug. - have both systems you tried on the same toolchain? What is a Linux app? Portable sources should not have problems to compile with the proper toolchain. |
| Free embeddable forum powered by Nabble | Forum Help |