|
From: Gregor P. <pe...@in...> - 2001-11-07 01:51:00
|
Can tell me some one how to create a library file? what's the difference between *.lib *.a *.o -Files (exept of thier extension ;-) ? Some time ago someone told me this all would be the same To get a *.a from a *.o-File I just had to rename it? My Problem is: I have two precompiled Object-File libyywrap.o and lex.yy.o generatet by flex (a lexer generator) and sucsessfully copiled with DevC++ 4.01 lex.yy.c / .o contains a function named int yylex() which I wanna use in a different project. I think I have tried all possible (and impossible) Compiler and Project-Options but DevC++ complains the would be a undefined reference from gertswnd.c (the file I call yylex() from) to yylex :-( this is the original error message: gertswnd.o(.text+0x2659):gertswnd.c: undefined reference to `yylex(void) would be thankful of any advice! |