unsigned long long arg1, arg2;
arg1 = arg1/arg2;
and you get this error:
Unknown symbol __udivdi3
You ought to do this instead:
unsigned long long arg1, arg2;
unsigned long temp = arg1;
do_div(temp, arg2);
arg1 = temp;
unsigned long long arg1, arg2;
arg1 = arg1/arg2;
Unknown symbol __udivdi3
unsigned long long arg1, arg2;
unsigned long temp = arg1;
do_div(temp, arg2);
arg1 = temp;
$ sudo aptitude install rpm
rpm2cpio
. (RPM and initramfs use the CPIO archiver)$ rpm2cpio < some-package.rpm | cpio -i --make-directories --verbose
$ sudo aptitude install alien
.rpm
to .deb
$ sudo alien --to-deb --scripts --verbose some-package.rpm
rpm2cpio
, so make sure you have installed rpm
.--scripts
: If the .rpm
has scripts then you need to include those.deb
file. sudo dpkg -i some-package.deb
.deb
and installing using dpkg
is that you can manage the install\uninstall\reinstall and version using apt\aptitude.
dpkg-reconfigure xserver-xorg
and it would redo the X11 configuration.$ xrandr
$ xrandr --output VGA --auto --above LVDS
c-set-style {chose the mode}
C-x h
C-M \
.emacs
file:(server-start)
emacsclient -n filename
alias cemacs='emacsclient -n'
alias emacs='emacs &'