Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 13:55:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 196155] New: graphics/freeglut: fix build on mips, remove .la file, strip library
Message-ID:  <bug-196155-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196155

            Bug ID: 196155
           Summary: graphics/freeglut: fix build on mips, remove .la file,
                    strip library
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

Created attachment 150801
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150801&action=edit
Patch

Freeglut doesn't build on MIPS (full log attached):

/usr/bin/ld: undefined reference to symbol `sin@@FBSD_1.0' (try adding -lm)
//lib/libm.so.5: could not read symbols: Bad value

Adding -lm to LDFLAGS fixes this.

While here, drop .la file and strip library.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer x11@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196155-7141>