intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Oct 30, 2014 7:12 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Need some Frotz eyes
PostPosted: Sun Jan 15, 2012 10:32 pm 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 275
I'm working at folding in Aldo Cumani's sfrotz into the main Frotz codebase. Would someone please take a look at the code and help me figure out why the build keeps complaining about
"undefined reference to `f_setup'", The code in question is in the pre-2.44 branch.

_________________
David Griffith


Top
 Profile Send private message  
 
 Post subject: Re: Need some Frotz eyes
PostPosted: Mon Jan 16, 2012 7:04 am 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 800
Can't reproduce:

Code:
git checkout pre-2.44
make


Builds fine :-/
(Linux, tested with GCC 4.5.3 and 4.6.3.)


Top
 Profile Send private message  
 
 Post subject: Re: Need some Frotz eyes
PostPosted: Mon Jan 16, 2012 9:05 am 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 275
It's the sfrotz target that I'm having trouble with.
Code:
$ make sfrotz
gcc -o sfrotz src/frotz_common.a src/frotz_sdl.a src/blorblib.a -ljpeg -lpng -lz -lSDL -lSDL_mixer
src/frotz_common.a(main.o): In function `z_piracy':
main.c:(.text+0x7): undefined reference to `f_setup'
src/frotz_common.a(main.o): In function `main':
main.c:(.text+0x27): undefined reference to `os_init_setup'
src/frotz_common.a(process.o): In function `call':
process.c:(.text+0x3ab): undefined reference to `f_setup'
process.c:(.text+0x4c7): undefined reference to `f_setup'
yadda yadda...

_________________
David Griffith


Top
 Profile Send private message  
 
 Post subject: Re: Need some Frotz eyes
PostPosted: Mon Jan 16, 2012 9:32 am 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 800
Oops, didn't know there was an sfrotz target. The build doesn't get that far here though:

Code:
src/sdl/sf_images.c: In function 'loadpng':
src/sdl/sf_images.c:97:7: error: dereferencing pointer to incomplete type


Smells like a missing #include, but not sure.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group