Version: 0.7.4 (using KDE KDE 3.4.2) Installed from: Fedora RPMs Compiler: gcc version 4.0.1 20050720 (Red Hat 4.0.1-4) OS: Linux /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DNDEBUG -DNO_DEBUG -O2 -O2 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i38 6 -mtune=pentium4 -fasynchronous-unwind-tables -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -o digikam -L/usr/lib -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -L/usr/lib -lImlib2 -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm main.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkio -lkparts libdigikam.la main.o(.text+0x791): In function `main': main.cpp: undefined reference to `DigikamFirstRun::DigikamFirstRun(KConfig*, QWidget*, char const*, bool, unsigned int)' main.o(.text+0x8f5):main.cpp: undefined reference to `DigikamApp::DigikamApp(bool)' collect2: ld returned 1 exit status make[5]: *** [digikam] Error 1 make[5]: Leaving directory `/usr/local/tmp/BUILD/digikam-0.7.4/digikam/digikam'
Rex, can you attach your config.log (generated when configure is run) and also your kdemacros.h in kde includes. (Tom, I had to manually patch the 0.7.4 tarballs I made earlier with some visibility fixes. The released tarballs are missing them. I should have checked them more carefully :( )
Created attachment 12286 [details] config.log for gcc4 build
Same thing here trying to build for Debian with KDE 3.4.2. I'll attach config.log and kdemacros.h Btw, What are the manual patches for visibility?? make[5]: Entering directory `/home/mark/src/debian/kde-extras/digikam/build-area/digikam-0.7.4/obj-i486-linux-gnu/digikam/digikam' /bin/sh ../../libtool --silent --tag=CXX --mode=link g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -o digikam -L/usr/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib -L/usr/lib -lImlib2 -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm main.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkio -lkparts libdigikam.la main.o: In function `main': /home/mark/src/debian/kde-extras/digikam/build-area/digikam-0.7.4/./digikam/digikam/main.cpp:223: undefined reference to `DigikamFirstRun::DigikamFirstRun(KConfig*, QWidget*, char const*, bool, unsigned int)' /home/mark/src/debian/kde-extras/digikam/build-area/digikam-0.7.4/./digikam/digikam/main.cpp:261: undefined reference to `DigikamApp::DigikamApp(bool)' collect2: ld returned 1 exit status
Created attachment 12287 [details] kdemacros.h from Debian kdelibs4-dev 3.4.2-1
the tarball at sourceforge has been updated with visibility fixes.