in reply to No such signal: SIGINT, In embedded linux system

I guess the first thing I'd do is check to see what signals perl thinks exist with perl -le 'print for keys %SIG'

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re^2: No such signal: SIGINT, In embedded linux system
by Anonymous Monk on Dec 15, 2004 at 18:27 UTC
    Good call, I get nothing back. What does that say about the setup?
    $ perl -le 'print for keys %SIG' $
      What does that say about the setup?

      It's... uh... broken. At least insofar as signals are concerned. :-)

      I think signal names are all compiled in when perl is built... so my best guess is that some headers were missing or broken and perl needs to be recompiled. Don't take my word as last on that though. Maybe there is an easier way to fix it.

      What version?

      -sauoq
      "My two cents aren't worth a dime.";
      
        What I think is interesting is its setup for i686 but was cross compiled for the ppc405 system its running on.
        $ perl -V Summary of my perl5 (revision 5.0 version 6 subversion 0) configuratio +n: Platform: osname=linux, osvers=2.4.3-pre4, archname=i686-linux uname='' config_args='-des -O -f config-defaults.sh -Dprefix=/usr -Darchnam +e=ppc_405-linux -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Ui_gdbm +-Dgnulibc -Dnm=ppc_405-nm -Dar=ppc_405-ar -Duselargefiles=undef -Dld= +ppc_405-ld -Dcf_email=source@mvista.com -Dperladmin=source@mvista.com + -Dcppflags= -Dlibswanted=sfio socket bind inet nsl nm dbm db malloc +dl -Dlibs=-lnsl -ldl -lm -lc -lcrypt -Dknowitall -Dcharsize=1 -Dd_fse +tpos -Dcryptlib=-lcrypt -lm -Dinstallprefix=/var/tmp/hhl-target-perl- +ppc_405-root/opt/hardhat/devkit/ppc/405/target/usr -Dfull_ar=/opt/har +dhat/devkit/ppc/405/bin/ppc_405-ar -Dman3dir=/usr/share/man/man3 -Dcc +=ppc_405-gcc -Dld=ppc_405-ld -Dman1dir=/usr/share/man/man1 -Dintsize= +4 -Dlongsize=4 -Dshortsize=2 -Dlonglongsize=8 -Dlongdblsize= -Dptrsiz +e=4 -Dlseeksize=4 -Dfpossize=12 -Dextensions=B Data/Dumper Fcntl IO I +PC/SysV Opcode SDBM_File Socket attrs re Errno' hint=previous, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultipl +icity=undef useperlio=undef d_sfio=undef uselargefiles=undef use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=u +ndef Compiler: cc='ppc_405-gcc', optimize='-O2', gccversion= cppflags='-fno-strict-aliasing' ccflags ='-fno-strict-aliasing' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=4 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='ppc_405-ld', ldflags =' ' libpth=/lib /usr/lib libs=-lnsl -ldl -lm -lc -lcrypt libc=/lib/libc-2.2.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynami +c' cccdlflags='-fpic', lddlflags='-shared ' Characteristics of this binary (from libperl): Compile-time options: Built under linux Compiled at Jul 16 2001 18:25:42 @INC: /usr/lib/perl5/site_perl/5.6.0/405-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/5.6.0/405-linux /usr/lib/perl5/5.6.0 /usr/local/lib/site_perl /usr/lib/perl5/ .