On Saturday 05 July 2008 14:20:00 Martin Costabel wrote: > James McKenzie wrote: > > Alexander Hansen wrote: > >> The same style of problem has shown up for some other packages, too. > >> > >> ... > >> Making all in utilities > >> g++ -DHAVE_CONFIG_H -I. -I.. -DQT_THREAD_SUPPORT > >> -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include > >> -I/sw/include -Wno-long-long -Wundef -Wall -W -W pointer-arith -Os > >> -D__lalala__ -Wno-non-virtual-dtor -fno-exceptions -fno-check- new > >> -fno-common -c -o smb4k_mount.o smb4k_mount.cpp > >> smb4k_mount.cpp: In function 'bool find_program(const char*, char*)': > >> smb4k_mount.cpp:98: error: 'uint' was not declared in this scope > >> smb4k_mount.cpp:98: error: expected `;' before 'i' > >> smb4k_mount.cpp:98: error: 'i' was not declared in this scope > >> make[2]: *** [smb4k_mount.o] Error 1 > >> .. > > > > This looks like we are missing a header file for information that is > > present in 10.4 (Tiger) but not in Leopard (10.5). Will this require > > branching for 10.5 so we don't end up with duplicate declaration > > messages in 10.4? > > I don't know about this specific package, but I have seen similar > problems in others. The reason there was that the necessary header file > (in the case at hand, <sys/types.h>) was included on Tiger more or less > by chance, namely indirectly from another header file. These indirect > inclusions have changed a lot in Leopard. > > Including the file explicitly won't pose a problem on Tiger. Most system > header files are protected against multiple inclusion anyway.
A <sys/types.h> issue appeared indeed to be the culprit here on inspecting the file that was complaining Some of us (maintainer included) were talking about it on IRC a couple of weeks ago, but I think I was the only one involved in the discussion who was on Leopard. I'm still not back to a situation where I have reliable internet away from work, so I never got around to testing out an appropriate patch here. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
