From: Robert H. <Rob...@gm...> - 2011-11-24 10:06:34
|
Am 23.11.2011 22:43, schrieb Keith Marshall: > On 23/11/11 19:53, Robert Hartmann wrote: >> configure could create a makefile :-) > > So, we're moving forward. Good. :-) > >> But now make run into trouble because of "undefined reference to >> `get_pkginfo' ". >> [...] >> And now, what should I do? > > What's in pkginfo.c? I'm guessing maybe nothing? yes, it is empty. > What do you see, if > you 'rm pkginfo.c&& make pkginfo.c' within your obj directory? well rm removes the pkginfo.c file and make pkginfo.c produces this console-output: Erster@eeepc 1000h ~/Programmieren/MinGW-get_cvs/mingw-get/obj $ make pkginfo.c : -t ../src/pkginfo.l > pkginfo.c > > For a build from CVS, pkginfo.c must be generated from pkginfo.l, so you > need flex. Do you have msys-flex installed? If not, you should > 'mingw-get install msys-flex'. Well puting together what packages I had to install additionaly to my mingw-installation (in which MSYS was not installed) for compiling mingw-get: mingw-get install msys-base mingw32-autoconf No, I haven't installed msys-flex up to now. But easily I can install msys-flex :-) I didn't know, that I must have it. After installing msys-flex I got: $ make pkginfo.c flex -t ../src/pkginfo.l > pkginfo.c now I run "make clean" and with make 2> make.rh I filtered the stderr-outputs and got: ../src/pkginet.cpp: In member function 'void* pkgInternetAgent::OpenURL(const char*)': ../src/pkginet.cpp:494:37: warning: large integer implicitly truncated to unsigned type ../src/pkgname.cpp: In function 'const char* pkgArchiveName(pkgXmlNode*, const char*, unsigned int)': ../src/pkgname.cpp:58:35: warning: large integer implicitly truncated to unsigned type ../src/pkgdeps.cpp: In member function 'void pkgXmlDocument::ResolveDependencies(pkgXmlNode*, pkgActionItem*)': ../src/pkgdeps.cpp:396:32: warning: large integer implicitly truncated to unsigned type ../src/pkgdeps.cpp: In member function 'void pkgXmlDocument::Schedule(long unsigned int, const char*)': ../src/pkgdeps.cpp:664:38: warning: large integer implicitly truncated to unsigned type ../src/pkgunst.cpp: In function 'void pkgRemove(pkgActionItem*)': ../src/pkgunst.cpp:353:32: warning: large integer implicitly truncated to unsigned type It seams to me, that now I have everything together ... or? Best regards, Robert Hartmann |