On 2/24/2004 4:04 AM, DH wrote:

Hi.
http://search.cpan.org/dist/SDL_Perl/
Once you get past the SDL specific bugs


    http://www.nntp.perl.org/group/perl.sdl.devel/1019
    http://www.nntp.perl.org/group/perl.sdl.devel/969

you can see errors described in

http://www.nntp.perl.org/group/perl.sdl.devel/969

Now the compiler warnings are due to a bug in ExtUtils-ParseXS
http://rt.cpan.org/NoAuth/Bug.html?id=5428

but once you get past those there are issues with the linking phase,
which is what I need help with.

I don't know exactly where the problem is, in  Module::Build or its subclass 
SDL::Build.
It looks like .lds/.def files are not named correctly and don't refer to the right
things, for example this is not right

  cat .lds
  ...
      -def:"src\.def"
      -implib:"blib\arch\auto\SDL_perl\.lib"

  perl Build
Use of uninitialized value in substitution (s///) at
C:\Perl\site\lib/Module/Build/Platform/Windows.pm line 133.
ExtUtils::Mksymlists::Mksymlists('src\SDL\SFont')
Use of uninitialized value in anonymous hash ({}) at 
C:\Perl\lib/ExtUtils/Mksymlists.pm line 29.
Generating script 'src\SDL\.lds'
link @"src\SDL\.lds" -out:"blib\arch\auto\SDL\SFont\SFont.dll"
LINK : fatal error LNK1104: cannot open file "src\SDL\.def"
LINK : fatal error LNK1141: failure during build of exports file
...

Looks like the filename is not being passed in. Check 'make\lib\SDL\Build.pm' in your override of the 'process_xs' method that $file is set correctly.


Randy.




Reply via email to