Sun Jun 13 07:38:22 2010: Request 58357 was acted upon.
Transaction: Ticket created by yangqingq...@fudan.edu.cn
       Queue: PAR
     Subject: maybe a bug of par
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: yangqingq...@fudan.edu.cn
      Status: new
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=58357 >


bug-par,您好!

        

        Today I tried to install par::packer module, and my system is windows 
xp. And I followed these instructions:

        perl makefile.pl

        nmake

        

        then there comes errors as follows:



        mktmpdir.c(179) : warning C4013: 'strcasecmp' undefined; assuming 
extern returnng int

        main.c(115) : error C2143: syntax error : missing ';' before 'type'

        main.c(116) : error C2065: 'argno' : undeclared identifier

        NMAKE : fatal error U1077: 'cl' : return code '0x2'

        Stop.

        NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual 
Studio\VC98\bin\

        MAKE.EXE"' : return code '0x2'

        Stop.

        

        Then I got to known that 'strcasecmp' is not a function for windows, 
but for linux. And in myldr/mktmpdir.c file are the lines: 

        #ifdef WIN32

        #define STREQ(a,b) (strcasecmp(a,b) == 0)

        #else

        #define STREQ(a,b) (strcmp(a,b) == 0)

        #endif



        So I want to ask if this is a bug or something else?



        And another bug is in myldr/main.c, at line 115. The statement "    int 
argno = 0;" should be put at the beginning of the main function.

        



        致

礼!

                                



        杨庆庆

        yangqingq...@fudan.edu.cn

          2010-06-13

Reply via email to