I can't compile cdcat

View: New views
2 Messages — Rating Filter:   Alert me  

I can't compile cdcat

by uzablecdcat.20.spammymehl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
i try to compile cdcat and made it like written in README.
qmake and then make. But this is what i get. Anyone can help ?

[**@SuperBowl src]$ make | tee output.txt
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
-DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/cdcat.o cdcat.cpp
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
-DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/commwidget.o
commwidget.cpp
commwidget.cpp:44: Warnung: unbenutzter Parameter »e«
commwidget.cpp:49: Warnung: unbenutzter Parameter »e«
commwidget.cpp:82: Warnung: unbenutzter Parameter »e«
commwidget.cpp:87: Warnung: unbenutzter Parameter »e«
commwidget.cpp:110: Warnung: unbenutzter Parameter »me«
commwidget.cpp:117: Warnung: unbenutzter Parameter »pe«
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
-DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/config.o config.cpp
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
-DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/dbase.o dbase.cpp
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
-DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/dirview.o dirview.cpp
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
-DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/find.o find.cpp
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
-DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/guibase.o guibase.cpp
import.h:69: Fehler: zusätzliche Qualifizierung »importGtktalogCsv::« an
Element »importGtktalogCsv«
make: *** [obj_files/guibase.o] Fehler 1


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cdcat-list mailing list
Cdcat-list@...
https://lists.sourceforge.net/lists/listinfo/cdcat-list

Re: I can't compile cdcat

by Eduard Bloch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#include <hallo.h>
* uzablecdcat.20.spammymehl@... [Sun, Oct 29 2006, 10:31:24AM]:
> -march=i386 -mtune=generic -fasynchronous-unwind-tables  -DQT_NO_DEBUG
> -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
> -I/usr/lib/qt-3.3/include -Imoc_files/ -o obj_files/guibase.o guibase.cpp
> import.h:69: Fehler: zusätzliche Qualifizierung »importGtktalogCsv::« an
> Element »importGtktalogCsv«
> make: *** [obj_files/guibase.o] Fehler 1

Patchset from the Debian package attached, including a solution for your
problem.

Eduard.

--
<miracee> neeeeeeeeeeeeeeeeeeeeeeeeiiiiiiiiiiiiiiiiiiiiiiiiin
<miracee> mein mailserver ist wieder da
<miracee> eben online gekommen das mistding
<miracee> jetzt hab ich mails von 5 Tagen *grusel*
<miracee> und ich wollte ins bett :(

#! /bin/sh /usr/share/dpatch/dpatch-run
## g++-4.1_fix.dpatch by Eduard Bloch <blade@...>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad cdcat-1.01b~/src/import.h cdcat-1.01b/src/import.h
--- cdcat-1.01b~/src/import.h 2005-08-22 19:03:00.000000000 +0200
+++ cdcat-1.01b/src/import.h 2006-03-11 00:23:23.000000000 +0100
@@ -66,7 +66,7 @@
 
 class importGtktalogCsv: public QObject {
 Q_OBJECT public:
- importGtktalogCsv::importGtktalogCsv( GuiSlave * parent, QString separator, QString filename, bool createdatabase, bool correctbadstyle );
+ importGtktalogCsv( GuiSlave * parent, QString separator, QString filename, bool createdatabase, bool correctbadstyle );
  ~importGtktalogCsv();
 
  /*

#! /bin/sh -e
## cvs_fixes.dpatch by Eduard Bloch <blade@...>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: CVS updates or rollbacks to fix current bugs.

if [ $# -lt 1 ]; then
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
    exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"

case "$1" in
    -patch) patch -p1 ${patch_opts} < $0;;
    -unpatch) patch -R -p1 ${patch_opts} < $0;;
    *)
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
        exit 1;;
esac

exit 0

@DPATCH@
diff -urd cdcat-1.0/src/dbase.cpp cdcat-1.0.obsolete.0.183555545824678/src/dbase.cpp
--- cdcat-1.0/src/dbase.cpp 2005-05-14 21:30:30.000000000 +0200
+++ cdcat-1.0.obsolete.0.183555545824678/src/dbase.cpp 2005-07-02 14:09:28.000000000 +0200
@@ -650,7 +650,7 @@
      i = 1 + (QMessageBox::warning(NULL,tr("Error"),errormsg,tr("Ignore directory"),tr("Cancel scanning")));    
      return i;
    }
-  dirlist = dir->entryInfoList();
+  dirlist = dir->entryInfoList("*", QDir::All|QDir::Hidden|QDir::System);
   QFileInfoListIterator it(*dirlist);
   QFileInfo *fileInfo;
   

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cdcat-list mailing list
Cdcat-list@...
https://lists.sourceforge.net/lists/listinfo/cdcat-list
LightInTheBox - Buy quality products at wholesale price