Public bug reported:

Environment: Ubuntu trusty

Steps to reproduce:

- Clone libemu's repository
- configure it and try to compile it

cd /opt && git clone git://git.carnivore.it/libemu.git
autoreconf -vi
./configure --prefix=/opt/dionaea
make install

And the errors:

environment/win32/emu_env_w32.c: In function 'emu_env_w32_new':
environment/win32/emu_env_w32.c:385:21: error: typedef 'PUNICODE_STRING' 
locally defined but not used [-Werror=unused-local-typedefs]
  } UNICODE_STRING, *PUNICODE_STRING;
                     ^
environment/win32/emu_env_w32.c:395:17: error: typedef 'PLIST_ENTRY' locally 
defined but not used [-Werror=unused-local-typedefs]
  } LIST_ENTRY, *PLIST_ENTRY; //, *RESTRICTED_POINTER PRLIST_ENTRY;
                 ^
environment/win32/emu_env_w32.c:398:24: error: typedef 'BYTE' locally defined 
but not used [-Werror=unused-local-typedefs]
  typedef unsigned char BYTE;
                        ^
environment/win32/emu_env_w32.c:418:4: error: typedef 'LDR_DATA_TABLE_ENTRY' 
locally defined but not used [-Werror=unused-local-typedefs]
  } LDR_DATA_TABLE_ENTRY, *PLDR_DATA_TABLE_ENTRY;
    ^
environment/win32/emu_env_w32.c:418:27: error: typedef 'PLDR_DATA_TABLE_ENTRY' 
locally defined but not used [-Werror=unused-local-typedefs]
  } LDR_DATA_TABLE_ENTRY, *PLDR_DATA_TABLE_ENTRY;
                           ^
environment/win32/emu_env_w32.c:431:4: error: typedef 'PEB_LDR_DATA' locally 
defined but not used [-Werror=unused-local-typedefs]
  } PEB_LDR_DATA, *PPEB_LDR_DATA;
    ^
environment/win32/emu_env_w32.c:431:19: error: typedef 'PPEB_LDR_DATA' locally 
defined but not used [-Werror=unused-local-typedefs]
  } PEB_LDR_DATA, *PPEB_LDR_DATA;
                   ^
cc1: all warnings being treated as errors
make[2]: *** [emu_env_w32.lo] Error 1

I checked on the internet and there was a similar issue with ArchLinux:

https://aur.archlinux.org/packages/libemu/?setlang=hr&comments=all

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1351872

Title:
  libemu doesn't compile with gcc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1351872/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to