I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-04-27 19:25:00.440965-07 by narasing1
MakeFile failed
Here is the message.
C:\strawberry\perl\SAP-Rfc-1.55&gtperl Makefile.PL /usr/lib does not seem to contain the librfc (or librfccm) library files Found rfc32 installed in /usr/sap/rfcsdk Which librfc build path do you want to link against? [/usr/sap/rfcsdk] ================================================ BUILD INFORMATION ================================================ rfc dir: c:\usr\sap\rfcsdk libraries: -lm -ldl -lpthread -lc -L"c:\usr\sap\rfcsdk/lib" -lrfc32 include dir: "c:\usr\sap\rfcsdk\include" rfc header: "c:\usr\sap\rfcsdk\include"/saprfc.h rfc candidate: /usr/sap/rfcsdk; /usr/sap/rfcsdk/include; rfc32 ================================================ Note (probably harmless): No library found for -ldl Note (probably harmless): No library found for -lpthread Note (probably harmless): No library found for -lc Note (probably harmless): No library found for -lrfc32 Writing Makefile for SAP::Rfc Welcome to The SAP::Rfc Object oriented Programming Interface for performing RFC calls to an SAP R/3 System. YOU MUST READ THE README FILE THAT COMES WITH THIS DISTRIBUTION AND UNDERSTAND THE TERMS AND CONDITIONS THEREIN. ---------------- Please Press Enter --------------- Copyright (c) 2002 - 2006 Piers Harding. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with this Kit. This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details. You should have received a copy of the Artistic License with this Kit, in the file named "Artistic". If not, I'll be glad to provide one. You should also have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ---------------- Please Press Enter --------------- Please Enter The Following: Enter ASHOST - Test SAP System Hostname: [localhost] ldnpsmsa0028 Enter SYSNR - System Number: [00] 01 Enter CLIENT - Client Number: [000] 100 Enter LANG - Login Language: [en] Enter USER - User Id: [DEVELOPER] mukkavin Enter PASSWD - Password: [developer] Leh@001 Enter TRACE - Trace Level: [1] 1 Were on our way ............. C:\strawberry\perl\SAP-Rfc-1.55>dmake Running Mkbootstrap for SAP::Rfc () C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Rfc.bs dlltool --def Rfc.def --output-exp dll.exp g++ -o blib\arch\auto\SAP\Rfc\Rfc.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C :\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Rfc.o -Wl,--image-base,0x360 a0000 C:\strawberry\perl\lib\CORE\libperl510.a C:\strawberry\c\lib\libm.a C:\st rawberry\c\lib\libmsvcrt.a C:\strawberry\c\lib\libmoldname.a C:\strawberry\c\lib \libkernel32.a C:\strawberry\c\lib\libuser32.a C:\strawberry\c\lib\libgdi32.a C: \strawberry\c\lib\libwinspool.a C:\strawberry\c\lib\libcomdlg32.a C:\strawberry\ c\lib\libadvapi32.a C:\strawberry\c\lib\libshell32.a C:\strawberry\c\lib\libole3 2.a C:\strawberry\c\lib\liboleaut32.a C:\strawberry\c\lib\libnetapi32.a C:\straw berry\c\lib\libuuid.a C:\strawberry\c\lib\libws2_32.a C:\strawberry\c\lib\libmpr .a C:\strawberry\c\lib\libwinmm.a C:\strawberry\c\lib\libversion.a C:\strawberry \c\lib\libodbc32.a C:\strawberry\c\lib\libodbccp32.a dll.exp Rfc.o: In function `MyInit': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:786: undefined reference to `RfcInstallSt ructure2@16' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:791: undefined reference to `RfcInstallSt ructure2@16' Rfc.o: In function `rfc_error': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:813: undefined reference to `RfcLastError Ex@4' Rfc.o: In function `MyBcdToChar': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:842: undefined reference to `RfcConvertBc dToChar@20' Rfc.o: In function `MyConnect': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:879: undefined reference to `RfcEnvironme nt@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:886: undefined reference to `RfcOpenEx@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:891: undefined reference to `RfcLastError Ex@4' Rfc.o: In function `MyDisconnect': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:918: undefined reference to `RfcClose@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:918: undefined reference to `RfcClose@4' Rfc.o: In function `MyGetTicket': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:934: undefined reference to `RfcGetTicket @8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:938: undefined reference to `RfcLastError Ex@4' Rfc.o: In function `MyAllowStartProgram': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:952: undefined reference to `RfcAllowStar tProgram@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:952: undefined reference to `RfcAllowStar tProgram@4' Rfc.o: In function `MyGetStructure': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1081: undefined reference to `ItCreate@16 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1106: undefined reference to `RfcCallRece ive@24' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1150: undefined reference to `ItGetLine@8 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1147: undefined reference to `ItFill@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1159: undefined reference to `ItGetLine@8 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1176: undefined reference to `ItFree@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1115: undefined reference to `RfcLastErro rEx@4' Rfc.o: In function `MyInstallStructure': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1319: undefined reference to `RfcExidToRf cType@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1332: undefined reference to `RfcInstallS tructure2@16' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1347: undefined reference to `RfcLastErro rEx@4' Rfc.o: In function `MyRfcPing': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1373: undefined reference to `RfcCallRece ive@24' Rfc.o: In function `MySysinfo': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1447: undefined reference to `RfcCallRece ive@24' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1455: undefined reference to `RfcLastErro rEx@4' Rfc.o: In function `MyGetInterface': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1522: undefined reference to `RfcGetFunct ionInfoAsTable@16' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1548: undefined reference to `ItGetLine@8 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1547: undefined reference to `ItFill@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1591: undefined reference to `ItFree@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1529: undefined reference to `RfcLastErro rEx@4' Rfc.o: In function `MyRfcCallReceive': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1777: undefined reference to `ItCreate@16 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1805: undefined reference to `ItAppLine@4 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1845: undefined reference to `RfcCallRece ive@24' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1857: undefined reference to `RfcLastErro rEx@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2013: undefined reference to `ItGetLine@8 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:1993: undefined reference to `ItFill@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2020: undefined reference to `ItFree@4' Rfc.o: In function `install_docu': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3577: undefined reference to `RfcInstallF unction@12' Rfc.o: In function `my_register': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2625: undefined reference to `RfcEnvironm ent@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2642: undefined reference to `RfcAcceptEx t@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2656: undefined reference to `RfcCheckReg isterServer@32' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2693: undefined reference to `RfcInstallT ransactionControl@16' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2708: undefined reference to `RfcAbort@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2717: undefined reference to `RfcInstallF unction@12' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2724: undefined reference to `RfcAbort@8' Rfc.o: In function `get_attributes': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2866: undefined reference to `RfcGetAttri butes@8' Rfc.o: In function `handle_request': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3122: undefined reference to `RfcGetData@ 12' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3238: undefined reference to `ItFree@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3281: undefined reference to `RfcRaise@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3230: undefined reference to `ItGetLine@8 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3210: undefined reference to `ItFill@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3383: undefined reference to `ItCreate@16 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3415: undefined reference to `ItAppLine@4 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3443: undefined reference to `RfcSendData @12' Rfc.o: In function `my_one_loop': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2768: undefined reference to `RfcWaitForR equest@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2768: undefined reference to `RfcWaitForR equest@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2788: undefined reference to `RfcGetName@ 8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2781: undefined reference to `RfcDispatch @4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2805: undefined reference to `RfcRaise@8' Rfc.o: In function `user_global_server': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2289: undefined reference to `RfcGetName@ 8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2305: undefined reference to `RfcRaise@8' Rfc.o: In function `my_accept': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2373: undefined reference to `RfcEnvironm ent@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2390: undefined reference to `RfcAcceptEx t@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2404: undefined reference to `RfcCheckReg isterServer@32' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2446: undefined reference to `RfcInstallT ransactionControl@16' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2461: undefined reference to `RfcAbort@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2499: undefined reference to `RfcInstallF unction@12' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2520: undefined reference to `RfcWaitForR equest@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2533: undefined reference to `RfcDispatch @4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2582: undefined reference to `RfcClose@4' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2540: undefined reference to `RfcGetName@ 8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2556: undefined reference to `RfcRaise@8' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:2506: undefined reference to `RfcAbort@8' Rfc.o: In function `do_docu': C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3539: undefined reference to `RfcGetData@ 12' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3548: undefined reference to `ItAppLine@4 ' C:/strawberry/perl/SAP-Rfc-1.55/Rfc.xs:3558: undefined reference to `RfcSendData @12' collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\SAP\Rfc\Rfc.dll'
C:\strawberry\perl\SAP-Rfc-1.55> Please help
Direct Responses: Write a response