Re: [Fink-devel] error.h header file
At 15:26 Uhr +1100 10.11.2002, Jeremy Higgs wrote: Hi everyone, I'm trying to update the deskmenu package, but I'm getting this error: gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -O2 -g -I/usr/X11R6/include `pkg-config gtk+-2.0 --cflags` -c xmalloc.c xmalloc.c:47: header file 'error.h' not found cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[1]: *** [xmalloc.o] Error 1 make: *** [all-recursive] Error 1 I had a look around for 'error.h' files, and there are some provided by other packages, as well as ones under /usr/include/mach and /usr/include/objc ... But I don't know if either of them will be of use (most likely not). Does anyone know what I could do to work around (or fix) this? So did you check that error.h is not part of deskmenu already? :-) I.e. is it really assumed to be a system header file? What is the exact #include line for it? Max -- --- Max Horn Software Developer email: mailto:max;quendi.de phone: (+49) 6151-494890 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] error.h header file
On Sunday, November 10, 2002, at 10:19 PM, Max Horn wrote: At 15:26 Uhr +1100 10.11.2002, Jeremy Higgs wrote: Hi everyone, I'm trying to update the deskmenu package, but I'm getting this error: gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -O2 -g -I/usr/X11R6/include `pkg-config gtk+-2.0 --cflags` -c xmalloc.c xmalloc.c:47: header file 'error.h' not found cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[1]: *** [xmalloc.o] Error 1 make: *** [all-recursive] Error 1 I had a look around for 'error.h' files, and there are some provided by other packages, as well as ones under /usr/include/mach and /usr/include/objc ... But I don't know if either of them will be of use (most likely not). Does anyone know what I could do to work around (or fix) this? So did you check that error.h is not part of deskmenu already? :-) I.e. is it really assumed to be a system header file? What is the exact #include line for it? The exact include line was: # include error.h I fixed it... A person on a newsgroup suggested looking at CVS, and I saw in a diff that the author had removed it, so I just removed the lines he did, and it now works. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] error.h header file
On Saturday, November 9, 2002, at 08:26 PM, Jeremy Higgs wrote: Does anyone know what I could do to work around (or fix) this? Remove the include, see what breaks, then look for those symbols is usually the best method. But it looks like there were no other issues so you could probably just remove the include. -Ben --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] error.h header file
Thanks, I now get this: gcc -O2 -g -I/usr/X11R6/include `pkg-config gtk+-2.0 --cflags` -L/sw/lib -o deskmenu deskmenu.o popup.o windows.o workspaces.o keyboard.o xmalloc.o getopt.o getopt1.o -lX11 -lXext -lX11 -L/usr/X11R6/lib `pkg-config gtk+-2.0 --libs` ld: warning multiple definitions of symbol _locale_charset /sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _locale_charset used from dynamic library /sw/lib/libiconv.dylib(localcharset.lo) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo) symbol _FT_Done_FreeType used from dynamic library /usr/X11R6/lib/libfreetype.6.dylib(ftinit.o) not from earlier dynamic library /sw/lib/libfreetype.6.dylib(ftinit.lo) ... symbol _FT_Glyph_Transform used from dynamic library /usr/X11R6/lib/libfreetype.6.dylib(ftglyph.o) not from earlier dynamic library /sw/lib/libfreetype.6.dylib(ftglyph.lo) ld: Undefined symbols: _error make[1]: *** [deskmenu] Error 1 make: *** [all-recursive] Error 1 ### execution of make failed, exit code 2 I'm not quite sure how to fix it... On Sunday, November 10, 2002, at 04:18 PM, Alexander Strange wrote: Try taking the #include for it out and seeing what undefined symbols you get. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] error.h header file
On Saturday, November 9, 2002, at 09:43 PM, Jeremy Higgs wrote: symbol _FT_Glyph_Transform used from dynamic library /usr/X11R6/lib/libfreetype.6.dylib(ftglyph.o) not from earlier dynamic library /sw/lib/libfreetype.6.dylib(ftglyph.lo) ld: Undefined symbols: _error make[1]: *** [deskmenu] Error 1 make: *** [all-recursive] Error 1 ### execution of make failed, exit code 2 I'm not quite sure how to fix it... You find what this error symbol is, and port it to OS X. Search headers, search the net, whatever. Thats what is involved in porting software.. Ben --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel