[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch for compile failures!





Aaron M Dulles-Coelho wrote:

Running amd64 Debian sid, Qt 3.3

Ok, so I'm not the only one who got the compile errors with this data...

g++ -c  -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux
-DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL
-I/usr/share/qt3/include -I. -I./include_dummy main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:31: error: expected type-specifier before 'QWindowsStyle'
main.cpp:31: error: expected `)' before 'QWindowsStyle'
main.cpp:31: error: no matching function for call to
'QApplication::setStyle(int*)'

But I figured out that if you just comment out that line 31 of main.cpp, the whole thing compiles without error and produces the deb packages. Rock.

In the source root, I replaced debian/patches-8.16.20/panel.diff with this newly created patch that does everything else and comments out the offending line.

NB: I'm still stuck trying to compile the module, so I haven't tested the actual module and seen the effects on the panel. I assume from what I've seen in Qt documentation that it simply won't set the Window Style to a Microsoft Windows style. That's ok by me, though!

--amdc

Thanks for your patch, now i'm able to compile the debs and also the modules. Unfortunately i'm getting this error whenever trying to modprobe the created module.

FATAL: Error inserting fglrx (/lib/modules/2.6.11.12-050714-vanilla/misc/fglrx.ko): Invalid module format

All the debs are installed and the compile process goes smoothly.

MC