ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Perl on Windows, running the make file to build mqseries mod

Post new topic  Reply to topic
 Perl on Windows, running the make file to build mqseries mod « View previous topic :: View next topic » 
Author Message
mehedi
PostPosted: Thu Jul 15, 2010 7:57 am    Post subject: Perl on Windows, running the make file to build mqseries mod Reply with quote

Centurion

Joined: 11 Nov 2001
Posts: 102
Location: PSTech

Hi,
The makefile fails here with this error "collect2: ld returned 5 exit status".
Any suggestion on how I should go about troubleshooting this ?


C:\MQSeries-1.31.tar\MQSeries-1.31>C:\Perl\site\bin\dmake.exe
dlltool --def MQSeries.def --output-exp dll.exp C:\Perl\site\bin\g++.exe -o ..\blib\arch\auto\MQServer\MQSeries\MQSeries.dll -Wl ,--base-file -Wl,dll.base -mdll -L"C:\Perl\lib\CORE" MQSeries.o constants.o -Wl, --image-base,0x3f380000 C:\Perl\lib\CORE\perl510.lib C:\Perl\site\lib\auto\MinG W\lib\libkernel32.a C:\Perl\site\lib\auto\MinGW\lib\libuser32.a C:\Perl\site\lib \auto\MinGW\lib\libgdi32.a C:\Perl\site\lib\auto\MinGW\lib\libwinspool.a C:\Perl \site\lib\auto\MinGW\lib\libcomdlg32.a C:\Perl\site\lib\auto\MinGW\lib\libadvapi
32.a C:\Perl\site\lib\auto\MinGW\lib\libshell32.a C:\Perl\site\lib\auto\MinGW\li b\libole32.a C:\Perl\site\lib\auto\MinGW\lib\liboleaut32.a C:\Perl\site\lib\auto \MinGW\lib\libnetapi32.a C:\Perl\site\lib\auto\MinGW\lib\libuuid.a C:\Perl\site\ lib\auto\MinGW\lib\libws2_32.a C:\Perl\site\lib\auto\MinGW\lib\libmpr.a C:\Perl\ site\lib\auto\MinGW\lib\libwinmm.a C:\Perl\site\lib\auto\MinGW\lib\libversion.a
C:\Perl\site\lib\auto\MinGW\lib\libodbc32.a C:\Perl\site\lib\auto\MinGW\lib\libo
dbccp32.a C:\Perl\site\lib\auto\MinGW\lib\libmsvcrt.a dll.exp
collect2: ld returned 5 exit status
dmake.exe: Error code 129, while making '..\blib\arch\auto\MQServer\MQSeries\MQ
Series.dll'
dmake.exe: Error code 255, while making 'subdirs'

# tie returns the object, so the value returned to require will be true.
tie %Config, 'Config', {
archlibexp => 'C:\Perl\\lib',
archname => 'MSWin32-x86-multi-thread',
d_readlink => undef,
d_symlink => undef,
dlext => 'dll',
dlsrc => 'dl_win32.xs',
dont_use_nlink => undef,
exe_ext => '.exe',
inc_version_list => '',
intsize => '4',
ldlibpthname => '',
osname => 'MSWin32',
osvers => '5.00',
path_sep => ';',
privlibexp => 'C:\Perl\\lib',
scriptdir => 'C:\Perl\\bin',
sitearchexp => 'C:\Perl\\site\\lib',
sitelibexp => 'C:\Perl\\site\\lib',
so => 'dll',
useithreads => 'define',
usevendorprefix => undef,
version => '5.10.1',
};

Thanks

Mehedi
Back to top
View user's profile Send private message MSN Messenger
mehedi
PostPosted: Thu Jul 15, 2010 8:35 am    Post subject: To clarify - This portion if from the config.pm file - Reply with quote

Centurion

Joined: 11 Nov 2001
Posts: 102
Location: PSTech

To clarify -
This portion if from the config.pm file -


# tie returns the object, so the value returned to require will be true.
tie %Config, 'Config', {
archlibexp => 'C:\Perl\\lib',
archname => 'MSWin32-x86-multi-thread',
d_readlink => undef,
d_symlink => undef,
dlext => 'dll',
dlsrc => 'dl_win32.xs',
dont_use_nlink => undef,
exe_ext => '.exe',
inc_version_list => '',
intsize => '4',
ldlibpthname => '',
osname => 'MSWin32',
osvers => '5.00',
path_sep => ';',
privlibexp => 'C:\Perl\\lib',
scriptdir => 'C:\Perl\\bin',
sitearchexp => 'C:\Perl\\site\\lib',
sitelibexp => 'C:\Perl\\site\\lib',
so => 'dll',
useithreads => 'define',
usevendorprefix => undef,
version => '5.10.1',
};
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Perl on Windows, running the make file to build mqseries mod
Jump to:  



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 vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.