SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm at home with flu , so to do something I decided to run my usual sbopkg queue (177 packages) with the gcc 4.4.2 in testing on a freshly installed slackware64-current virtual machine
Hope this can be useful at least for other people willing to use 4.4.2 (and for slackbuilds.org's people too).
installed yasm from extras (for x264).
these are the problems I've seen:
wmpower
Quote:
Code:
checking stdio.h presence... yes
configure: WARNING: stdio.h: present but cannot be compiled
configure: WARNING: stdio.h: check for missing prerequisite headers?
configure: WARNING: stdio.h: see the Autoconf documentation
configure: WARNING: stdio.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdio.h: proceeding with the preprocessor's result
configure: WARNING: stdio.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------- ##
configure: WARNING: ## Report this to michele.noberasco@tiscali.it ##
configure: WARNING: ## ------------------------------------------- ##
checking for stdio.h... yes
checking for stdlib.h... (cached) no
configure: error: One or more system headers that are necessary to compile this program are missing on this system. Cannot continue.
make[2]: Entering directory `/tmp/sbopkg/sbopkg-build-directory/libofa-0.9.3/examples'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -fPIC -Wall -g -MT example.o -MD -MP -MF ".deps/example.Tpo" -c -o example.o example.cpp; \
then mv -f ".deps/example.Tpo" ".deps/example.Po"; else rm -f ".deps/example.Tpo"; exit 1; fi
example.cpp: In function 'int main(int, char**)':
example.cpp:40: error: 'printf' was not declared in this scope
example.cpp:44: error: 'printf' was not declared in this scope
example.cpp:48: error: 'printf' was not declared in this scope
example.cpp:54: error: 'printf' was not declared in this scope
example.cpp:63: error: 'printf' was not declared in this scope
example.cpp:66: error: 'printf' was not declared in this scope
make[2]: *** [example.o] Error 1
make[2]: Leaving directory `/tmp/sbopkg/sbopkg-build-directory/libofa-0.9.3/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/sbopkg/sbopkg-build-directory/libofa-0.9.3'
make: *** [all] Error 2
1.0.7 is unavailable like dirac and I wasn't able to find an official download spot, so I took my own route and used alien's 1.0.8 from vlc build with relative patch. this is the slackbuild I used
ptlib
Quote:
upgraded to 2.6.4 because of opal
opal
Quote:
Code:
g++ -I../../../include -I.. -I../../common -I../../../ -fPIC -Os -O2 -fPIC -c enc-ctx.cxx -o obj/enc-ctx.o
enc-ctx.cxx: In function 'void logCallbackX264(void*, int, const char*, __va_list_tag*)':
enc-ctx.cxx:54: error: 'sprintf' was not declared in this scope
enc-ctx.cxx:55: error: 'vsprintf' was not declared in this scope
make[3]: *** [obj/enc-ctx.o] Error 1
make[3]: Leaving directory `/tmp/sbopkg/sbopkg-build-directory/opal-3.6.2/plugins/video/H.264/gpl'
make[2]: *** [h264_video_pwplugin.so] Error 2
make[2]: Leaving directory `/tmp/sbopkg/sbopkg-build-directory/opal-3.6.2/plugins/video/H.264'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/sbopkg/sbopkg-build-directory/opal-3.6.2/plugins'
make: *** [subdirs] Error 2
solved upgrading ptlib to 2.6.4 and opal to 3.6.4
ekiga
Quote:
upgraded to 3.2.5 because of opal: it doesn't need the ekiga-3.2.4-fix_compile_gtk_212.patch (already applied)
lighttpd
Quote:
Code:
Building lighttpd
lighttpd:
--2009-11-03 20:40:28-- http://www.lighttpd.net/download/lighttpd-1.4.23.tar.gz
Resolving www.lighttpd.net... 64.34.173.165
Connecting to www.lighttpd.net|64.34.173.165|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 803422 (785K) [application/octet-stream]
Saving to: `lighttpd-1.4.23.tar.gz'
100%[======================================>] 803,422 166K/s in 4.9s
2009-11-03 20:40:34 (161 KB/s) - `lighttpd-1.4.23.tar.gz' saved [803422/803422]
Checking MD5SUM:
MD5SUM check for lighttpd-1.4.23.tar.gz ... FAILED!
Expected: 0ab6bb7b17bf0f515ce7dce68e5e215a
Found: 41dfad5c366d34d83c3d2b46d4c08f5c
Do you want to use the downloaded lighttpd source:
lighttpd-1.4.23.tar.gz in /var/cache/sbopkg?
You can choose among the following options:
- (Y)es, keep the source and continue the build process;
- (N)o, delete the source and abort the build process; or
- (R)etry download and continue the build process.
Your choice?
Y
There are still many applications that will fail to build with GCC 4.4.x.
Most of them cause they havent yet released a new version, others cause they are unmaintained.
But the later ones should fail building with earlier GCC versions as well, at least to a great extend.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.