Bug 43546 - Ogle fails to compile from ports collection
Summary: Ogle fails to compile from ports collection
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-01 04:20 UTC by elevati0n
Modified: 2002-10-06 23:00 UTC (History)
0 users

See Also:


Attachments
smime.p7s (3.28 KB, application/x-pkcs7-signature)
2002-10-03 01:43 UTC, larse
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description elevati0n 2002-10-01 04:20:01 UTC
Ogle fails to build properlyfunroll-loops -O3 -pip with the following error... I realize I'm building with -03 flags below.  I've tried turning off all opt flags and still no luck.


cc -O3 -pipe -march=pentiumpro -Wall -fomit-frame-pointer -e -march=pentiumpro -Wall -fomit-frame-pointer -funroll-loops -march=i586 -mcpu=pentiumpro -o .libs/ogle_mpeg_vs video_stream.o video_mpeg1.o video_mpeg2.o video_motion.o c_getbits.o video_tables.o yuv2rgb_mmx.o idct_mmx.o mmx_mlib.o  ../common/libcommon.a ../ogle/.libs/libmsgevents.so -Wl,--rpath -Wl,/usr/local/lib/ogle
video_stream.o: In function `next_start_code':
video_stream.o(.text+0x2ef): undefined reference to `swap32'
video_stream.o(.text+0x3af): undefined reference to `swap32'
video_stream.o: In function `drop_to_next_picture':
video_stream.o(.text+0x49f): undefined reference to `swap32'
video_stream.o: In function `video_sequence':
video_stream.o(.text+0x9ab): undefined reference to `swap32'
video_stream.o: In function `sequence_header':
video_stream.o(.text+0xa4f): undefined reference to `swap32'
video_stream.o(.text+0xafb): more undefined references to `swap32' follow
gmake[1]: *** [ogle_mpeg_vs] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/ogle/work/ogle-0.8.5/mpeg2_video'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ogle.
*** Error code 1

Stop in /usr/ports/graphics/ogle.

Fix: 

Seems to have two march flags.  Does ogle try to insert it's own opt flags on top of the ones from /etc/make.conf.
How-To-Repeat: cd /usr/ports/graphics/ogle
make clean
make install clean
Comment 1 larse 2002-10-03 01:43:50 UTC
This is a multi-part message in MIME format.
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-10-05 18:36:53 UTC
State Changed
From-To: open->closed

A fix has just been committed.
Comment 3 Jon Noack 2002-10-06 22:52:15 UTC
Um... the environment in the PR was 4.7-RC.  I still can't compile with
4.7-RC.  How is this issue closed if the fix is for -CURRENT only?
Sorry if my understanding of the problem system is incorrect and I'm
just hassling you...

Jon Noack