Bug 127082 - [patch] port emulators/bochs does not build correctly with SDL=on
Summary: [patch] port emulators/bochs does not build correctly with SDL=on
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-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 08:50 UTC by Edward.Sanford.Sutton
Modified: 2008-09-05 13:40 UTC (History)
0 users

See Also:


Attachments
file.diff (465 bytes, patch)
2008-09-04 08:50 UTC, Edward.Sanford.Sutton
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward.Sanford.Sutton freebsd_committer freebsd_triage 2008-09-04 08:50:03 UTC
When building emulators/bochs with SDL=on, the command `sdl-config --cflags
--libs` returns -lSDL among the list and results in the error "libtool: link:
cannot find the library `'" on my system. Replacing -lSDL with -lSDL-1.2 does
compile successfully. I do not know why one works while the other fails as both
libraries exist with the same size and md5 output. 

I have the following packages installed with SDL referenced in the package name:

ecore-sdl-0.9.9.042
evas-engine-sdl-0.9.9.042
linux-sdl-1.2.10,1
sdl-1.2.13_1,2
sdl_image-1.2.6_1
sdl_mixer-1.2.8_1
sdl_net-1.2.7
sdl_ttf-2.0.9

The following are ll and md5 outputs for the SDL libraries

lrwxr-xr-x  1 root  wheel      16 Apr  1 20:51 /usr/local/lib/libSDL-1.2.so -> libSDL-1.2.so.11
-rwxr-xr-x  1 root  wheel  474726 Apr  1 20:51 /usr/local/lib/libSDL-1.2.so.11
-rw-r--r--  1 root  wheel  573622 Apr  1 20:51 /usr/local/lib/libSDL.a
-rwxr-xr-x  1 root  wheel    1074 Apr  1 20:51 /usr/local/lib/libSDL.la
lrwxr-xr-x  1 root  wheel      16 Apr  1 20:51 /usr/local/lib/libSDL.so -> libSDL-1.2.so.11
-rwxr-xr-x  1 root  wheel  474726 Mar 29 09:48 /usr/local/lib/libSDL.so.11
MD5 (/usr/local/lib/libSDL-1.2.so) = afc4aa0649438be1cec61d5034265a43
MD5 (/usr/local/lib/libSDL-1.2.so.11) = afc4aa0649438be1cec61d5034265a43
MD5 (/usr/local/lib/libSDL.a) = b3bf46b992b8864b27783353a0f68b67
MD5 (/usr/local/lib/libSDL.la) = 9c65466b9fa31335e7f0c02ea7bc240f
MD5 (/usr/local/lib/libSDL.so) = afc4aa0649438be1cec61d5034265a43
MD5 (/usr/local/lib/libSDL.so.11) = afc4aa0649438be1cec61d5034265a43

Fix: I placed this patch as emulators/bochs/files/patch-Makefile.in
How-To-Repeat: Attempt to build emulators/bochs with SDL=on defined should do the trick, but my current settings are:
===> The following configuration options are available for bochs-2.3.7,2:
     AES=off "Enable support of AES CPU extensions"
     CDROM=on "Enable CDROM support"
     CLGD54XX=off "Enable Cirrus Logic GD54xx video card"
     DEBUGGER=off "Enable debugger and disassembler support"
     DEBUGGER_X86=off "Enable x86 hardware debugger"
     FPU=on "Enable FPU emulator"
     IDLE_HACK=on "Keep Bochs from using all CPU time"
     IGNORE_BAD_MSR=off "Ignore unknown MSR references (don't panic)"
     MTRR=off "Enable MTRR emulation (CPU level >= 6)"
     MWAIT=off "Enable experimental MONITOR/MWAIT support"
     NE2000=on "Enable limited ne2000 support"
     NEW_PIT=on "Enable use of the new PIT model"
     OPTIMIZATIONS=on "Enable all safe speeed optimizations"
     PCI=on "Enable limited i440FX PCI support"
     PLUGINS=off "Enable building dynamic loadable plugins"
     PNIC=off "Enable PCI pseudo NIC (network card) support"
     PORT_E9_HACK=on "Writes to port e9 go to console"
     READLINE=off "Enable readline support in debugger"
     RFB=off "Enable VNC server support in display"
     SB16=on "Enable Sound Blaster 16 emulation"
     SDL=on "Enable SDL display interface"
     SHOW_IPS=off "Enable logging of measured IPS"
     SMP=on "Enable SMP simulation support (CPU level 6)"
     SSE4=off "Enable emulation of SSE4.2 instruction set"
     SVGA=on "Enable SVGAlib support"
     TCACHE=on "Enable trace cache"
     TERM=off "Use text only, console based interface"
     USB=off "Enable limited i440FX PCI USB support"
     VBE=on "Enable VGA BIOS Extensions"
     WX=off "Use WxWidgets display interface"
     X11=on "Use X11 display interface"
     X86_64=off "Enable AMD x86-64 support"
     XPM=on "Enable XPM library support"
     XSAVE=off "Enable support of XSAVE/XRSTOR CPU extensions"
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2008-09-05 13:38:49 UTC
State Changed
From-To: open->closed

Fixed properly
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-09-05 13:39:35 UTC
pav         2008-09-05 12:39:27 UTC

  FreeBSD ports repository

  Modified files:
    emulators/bochs      Makefile 
  Log:
  - Fix build with SDL
  
  PR:             ports/127082
  Reported by:    Edward Sanford Sutton, III
  
  Revision  Changes    Path
  1.84      +1 -1      ports/emulators/bochs/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"