Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 02:31:57 -0700 (PDT)
From:      Dan Naumov <jago@telefragged.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/37481: ZSNES 1.337 refuses to build against SDL 1.2.4
Message-ID:  <200204260931.g3Q9Vv643452@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37481
>Category:       ports
>Synopsis:       ZSNES 1.337 refuses to build against SDL 1.2.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 26 02:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dan Naumov
>Release:        4.5-STABLE
>Organization:
none, home user.
>Environment:
FreeBSD localhost.localdomain 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Apr 26 04:09:01 EEST 2002 root@localhost.localdomain:/usr/obj/usr/src/sys/JAGO  i386
>Description:
When trying to build the ZNES 1.337 emulator, which is in ports, it now attempts to build against the recently released SDL 1.2.4. The build fails with the following error:

linux/sdllink.o: In function `InitJoystickInput':
linux/sdllink.o(.text+0xc1c): undefined reference to `SDL_NumJoysticks'
linux/sdllink.o(.text+0xc4e): undefined reference to `SDL_JoystickEventState'
linux/sdllink.o(.text+0xc6d): undefined reference to `SDL_JoystickOpen'
linux/sdllink.o(.text+0xc7e): undefined reference to `SDL_JoystickName'
linux/sdllink.o(.text+0xc8a): undefined reference to `SDL_JoystickNumButtons'
gmake: *** [zsnes] Error 1
*** Error code 2

It used to build fine against SDL 1.2.3 and I also heard that 1.2.4 introduced some major changes to the Joystick code, so I am almost 100% positive that the problem is caused by the new SDL release.
>How-To-Repeat:
Remove ZSNES and SDL from your system (if installed). CVSup the port tree. Attempt to build ZSNES.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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