pkgsrc-Bugs archive

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

pkg/43078: audio/mpg123 does not compile on Linuxx



>Number:         43078
>Category:       pkg
>Synopsis:       audio/mpg123 does not compile on Linuxx
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 30 04:10:00 +0000 2010
>Originator:     Stefan
>Release:        
>Organization:
>Environment:
Linux vaio 2.6.29.6 #2 Mon Dec 7 17:31:46 CST 2009 i686 Intel(R) Pentium(R) 4 
CPU 2.80GHz GenuineIntel GNU/Linux
>Description:
audio/mpg123 from pkgsrc-2009Q4 does not compile on Linux Slackware 13.
>How-To-Repeat:
# bmake
>Fix:
audio/mpg123 from pkgsrc-2009Q4 does not compile on Linux Slackware 13.


# bmake
:
:
gcc -Wno-error -O2 -march=pentium4 -Wno-error -DI386_ASSEM -DPENTIUM_OPT 
-DREAL_IS_FLOAT -DLINUX  -DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2 -m486  
-fomit-frame-pointer -funroll-all-loops  -finline-functions -ffast-math -DINET6 
-c mpg123.c
cc1: error: unrecognized command line option "-m486"



Apparently, recent versions of gcc (like Slackware's gcc-4.3.3) don't 
understand -m486, anymore.


Fix:

Make changes to the linux target in mpg123's Makefile similiar to the changes 
made for the netbsd target (see patches/patches-aa).

OR

Backport the changes from pkgsrc-current, e.g. replace Makefile with configure.



Home | Main Index | Thread Index | Old Index