[Prev][Next][Index][Thread]

Compiling on ELF



I never developed anything on ELF systems and would appreciate advice 
regarding a problem:
I have a program I compiled on an a.out system without 
any problem. I want to link an object file with a library that is
../lib/libwn.a on an ELF system.

compiling wn_pro.o works fine.

But:
gcc -o wn_pro -L../lib -static wn_pro.o -lwn
gives me undefined references errors regarding the functions I'm calling.

file ../lib/libwn.a
../lib/libwn.a: archive random library
(seems OK).


10X,
Oori.

---
Oori Hasson                              |  Check out:				
Psychology and Cognitive Studies at HUJI |  http://www.gilo.jlm.k12.il/~oori
Linux Enthusiast at large                |  Webmaster. System. 
---