Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

makefile, berkeley-db porting problems



I have successfully compiled my program on Windows. 
I am having problems porting the program to Lynix (RedHat 9.0).
I am able to compile the program, but I get "bash  exe_name: Cannot
execute binary file" for the compiled version of the program. The
permissions are set to chmod a+x. The file is of type "ELF 32 bit LSB
relocatable, Intel 80386, version 1 (SYSV),not striped". During the
compile I am including the lib-db-41.a (I forget the exact name of
this library).
I am using gcc version 3.2.2 and ld version 2.13.90.0.18.

Does anyone have a Makefile that will compile a program and only
include/link the berkeley library?

Any suggestions?

Thanks
Eric



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.