osdir.com
mailing list archive

Subject: attempt at making a libsidplay2 port - msg#00222

List: os.openbsd.ports

Date: Prev Next Index Thread: Prev Next Index

if the most anyone could/is willing to say with a glance at this
is to say i might be barking up the right tree assuming that there
might be a problem with includes, that would be awesome. if you
think i'm a fool and have no clue what i'm doing, that's rather true.

i copied the /usr/ports/audio/libsidplay to a ../libsidplay2 dir and
copied all files into it. edited the Makefile to have instead:

============================
DISTNAME= libsidplay-2.1.0
CATEGORIES= audio
HOMEPAGE= http://sidplay2.sourceforge.net/
DISTFILES= sidplay-libs-2.1.0.tar.gz

MASTER_SITES= ${HOMEPAGE}

WRKSRC= ${WRKDIR}/sidplay-libs-2.1.0
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/unix
=====================

( did the recalc of the checksum for the distinfo file )
and the make doesn't go far, it says something that seems to be
related to the 'boolean' typedefs:

===============
Making all in mos6510
source='mos6510.cpp' object='mos6510.lo' libtool=yes \
depfile='.deps/mos6510.Plo' tmpdepfile='.deps/mos6510.TPlo' depmode=gcc /bin/sh
\
../../unix/depcomp /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H
\
-O2 -march=i586 -DHAVE_UNIX -I../../include -I../../include/sidplay -c -o \
mos6510.lo `test -f 'mos6510.cpp' || echo './'`mos6510.cpp
c++ -DHAVE_CONFIG_H -O2 -march=i586 -DHAVE_UNIX -I../../include \
-I../../include/sidplay -c mos6510.cpp -Wp,-MD,.deps/mos6510.TPlo -fPIC -o \
.libs/mos6510.o
In file included from ../../include/sidplay/sidtypes.h:38,
from mos6510.cpp:38:
/usr/include/stdbool.h:13: syntax error before `false'
In file included from mos6510.cpp:40:
../../include/sidenv.h:121: syntax error before `('
../../include/sidenv.h:123: syntax error before `('
*** Error code 1

Stop in /home/cvs/ports/audio/libsidplay2/w-libsidplay-2.1.0/sidplay-libs-2.1.0\
/libsidplay/src/mos6510.
*** Error code 1
=================

the '-march=i586' is from my /etc/mk.conf, but doesn't change situation
without it.

line 38 in sidtypes.h is the one where it says include <stdbool.h>

#ifndef SID_HAVE_BOOL
# ifdef SID_HAVE_STDBOOL_H
# include <stdbool.h>
# else
typedef int bool;
# define true 1
# define false 0
# endif /* SID_HAVE_STDBOOL_H */
#endif /* HAVE_BOOL */

line 121 in sidenv.h talks about booleans :
virtual inline bool envCheckBankJump (uint_least16_t addr)

123 doesn't...:
virtual inline uint8_t envReadMemDataByte (uint_least16_t addr)

... :/ i tried with USE_GMAKE=yes in the Makefile, and got no
change... also tried just extract the distfile to a dir and did
'./configure' and got the identical same result.

google/alltheweb for 'sidenv.h + "syntax error"' gave nil, from
the forum at sourceforge, it doesn't look like they have much
trouble compiling there, so i assumed if i mentioned it i might
not have a situation they can reproduce ( thinking tactfully ).

if you can throw me a bone ( perhaps directly at my head ) that
would rock, but pressing 'd' now is ok for me too as i don't really
merit much else for this post.

nothing ventured, nothing flamed?

jared

--

[ openbsd 3.4 GENERIC ( oct 20 ) // i386 ]




Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: esp ghostscript port, anyone?

On Fri, 24 Oct 2003 16:26:45 -0701 Jacob Meuser <jakemsr@xxxxxxxxxxx> wrote: > check out http://jakemsr.com/openbsd/ports/{cups,espgs,gimp-print}-port.tgz > > cups - some changes from Marc's port (think it was based off one of > my old ones to begin with) I took this over a while ago and I am maintaining it. If you have changes, you could e-mail them to me. > espgs - full ghostscript (needs gs-fonts-std package) port > I don't want to maintain any of these ... but I do use them for myself. I do try at least to maintain them. -mb

Next Message by Date: click to view message preview

CUPS Port 1.1.20rc5

Update of CUPS Port to Version 1.1.20rc5 The port of the fifth release candidate for version 1.1.20 of the Common UNIX Printing System ("CUPS") is now available for download from the web site at: http://www.etc.msys.ch/ports/cups/ - mb

Previous Message by Thread: click to view message preview

New: chipmunk

Tools for schematic capture, netlist creation, and analog and digital simulation (log), IC mask layout, extraction, and DRC (wol), simple chip compilation (wolcomp), MOSIS fabrication request generation (mosis), netlist comparison (netcmp), data plotting (view) and postscript graphics editing (until). These tools were used exclusively for the design and test of all the integrated circuits described in Carver Mead's book "Analog VLSI and Neural Systems". Until was used as the primary tool for figure creation for the book. The directory also contains an example of an analog VLSI chip that was designed and fabricated with these tools, and an example of an Actel field-programmable gate array design that was simulated and converted to Actel format with these tools (example). These tools were originally written for HP 200 Series ("Chipmunk") computers, and were later ported to Unix and the X Windows System. WWW: http://www.pcmp.caltech.edu/chipmunk/ Not sure if "cad" is the best category for it... better suggestions? Or generally any other comments... I still haven't patched the tmp file race And I've only been using the simulation (LOG) parts of it so far, so don't know how well the rest works... chipmunk.tar.gz Description: application/tar-gz

Next Message by Thread: click to view message preview

CUPS Port 1.1.20rc5

Update of CUPS Port to Version 1.1.20rc5 The port of the fifth release candidate for version 1.1.20 of the Common UNIX Printing System ("CUPS") is now available for download from the web site at: http://www.etc.msys.ch/ports/cups/ - mb
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by