[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for compile failures!
- From: Marco Calviani <mirtux at studenti dot fisica dot unifi dot it>
- Date: Thu, 15 Sep 2005 11:54:27 +0200
Aaron M Dulles-Coelho wrote:
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.
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
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
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!
FATAL: Error inserting fglrx
(/lib/modules/18.104.22.168-050714-vanilla/misc/fglrx.ko): Invalid module format
All the debs are installed and the compile process goes smoothly.