porting of USB ADSL modem Linux source to OSX

hugheba

Registered
I downloaded the linux source for the drivers for my Alcatel Speed Touch USB modem. I'm following the instructions on installation on linux and I'm getting this error:

make
strings: can't open file: /lib/libc.so.* (No such file or directory)
strings: can't open file: /lib/libc.so.* (No such file or directory)
Warning: Object was compiled with egcs-2.91.66, not 2.95.2.
Warning: Object was compiled with libc-2.1.92, you APPEAR to be using libc-
gcc mgmt.o -o speedmgmt
/usr/bin/ld: mgmt.o bad magic number (not a Mach-O file)
make: *** [speedmgmt] Error 1

anyone have any ideas on this? I'm attaching the make file.

Thanks in advance for any help. And I hope others can learn from this too!
 

Attachments

offets

Registered
Start with the first error. Is there really a /lib location? as far as i know Darwin uses the .dynlib exstension, and not .so. there is a libc.dylib in /usr/lib.
Did you type ./configure?
To add compability between Linux and Darwin i suggest you go to http://www.gnu-darwin.org
 

sps

Registered
Originally posted by hugheba

gcc mgmt.o -o speedmgmt
/usr/bin/ld: mgmt.o bad magic number (not a Mach-O file)
make: *** [speedmgmt] Error 1
It looks like the dist comes with pre-compiled object files.
if this is the case, you will be unable to link or use these linux intel object files.

Hopefully you can get the FULL source code, which would allow you
to build those objects for PPC.

HTH
---
http://bluedot.net/osx/
---
 
Top