RLovelett/mediasmartserverd — Issue #1: Compile on Ubuntu 11.10 x64
Author: RLovelett
Created: 2012-02-05 16:53:23+00:00
State: open

g++ -Wall -O2 -o device_monitor.o -c src/device_monitor.cpp
g++ -Wall -O2 -o mediasmartserverd.o -c src/mediasmartserverd.cpp
g++ -Wall -O2 -ludev -o mediasmartserverd device_monitor.o mediasmartserverd.o
device_monitor.o: In function `DeviceMonitor::deviceChanged_(udev_device*, bool)':
device_monitor.cpp:(.text+0x56): undefined reference to `udev_device_get_parent_with_subsystem_devtype'
device_monitor.cpp:(.text+0x74): undefined reference to `udev_device_get_parent'
device_monitor.cpp:(.text+0x92): undefined reference to `udev_device_get_subsystem'
device_monitor.cpp:(.text+0xd4): undefined reference to `udev_device_get_sysnum'
device_monitor.cpp:(.text+0x174): undefined reference to `udev_device_get_subsystem'
device_monitor.cpp:(.text+0x17f): undefined reference to `udev_device_get_syspath'
device_monitor.cpp:(.text+0x214): undefined reference to `udev_device_get_subsystem'
device_monitor.cpp:(.text+0x21f): undefined reference to `udev_device_get_syspath'
device_monitor.o: In function `DeviceMonitor::deviceRemove_(udev_device*)':
device_monitor.cpp:(.text+0x372): undefined reference to `udev_device_get_subsystem'
device_monitor.cpp:(.text+0x37d): undefined reference to `udev_device_get_syspath'
device_monitor.o: In function `DeviceMonitor::deviceAdded_(udev_device*)':
device_monitor.cpp:(.text+0x4a2): undefined reference to `udev_device_get_subsystem'
device_monitor.cpp:(.text+0x4ad): undefined reference to `udev_device_get_syspath'
device_monitor.o: In function `DeviceMonitor::~DeviceMonitor()':
device_monitor.cpp:(.text+0x5c2): undefined reference to `udev_unref'
device_monitor.cpp:(.text+0x5d0): undefined reference to `udev_monitor_unref'
device_monitor.o: In function `DeviceMonitor::enumDevices_()':
device_monitor.cpp:(.text+0x67e): undefined reference to `udev_enumerate_new'
device_monitor.cpp:(.text+0x6c7): undefined reference to `udev_enumerate_unref'
device_monitor.cpp:(.text+0x6d4): undefined reference to `udev_enumerate_add_match_property'
device_monitor.cpp:(.text+0x6e0): undefined reference to `udev_enumerate_scan_devices'
device_monitor.cpp:(.text+0x6ec): undefined reference to `udev_enumerate_get_list_entry'
device_monitor.cpp:(.text+0x742): undefined reference to `udev_list_entry_get_next'
device_monitor.cpp:(.text+0x756): undefined reference to `udev_list_entry_get_name'
device_monitor.cpp:(.text+0x762): undefined reference to `udev_enumerate_get_udev'
device_monitor.cpp:(.text+0x76d): undefined reference to `udev_device_new_from_syspath'
device_monitor.cpp:(.text+0x7b1): undefined reference to `udev_device_unref'
device_monitor.cpp:(.text+0x8ec): undefined reference to `udev_device_unref'
device_monitor.cpp:(.text+0x910): undefined reference to `udev_enumerate_unref'
device_monitor.o: In function `DeviceMonitor::Init(std::tr1::shared_ptr const&)':
device_monitor.cpp:(.text+0x9b9): undefined reference to `udev_new'
device_monitor.cpp:(.text+0x9d2): undefined reference to `udev_monitor_new_from_netlink'
device_monitor.cpp:(.text+0x9f1): undefined reference to `udev_monitor_filter_add_match_subsystem_devtype'
device_monitor.cpp:(.text+0xa0a): undefined reference to `udev_monitor_enable_receiving'
device_monitor.o: In function `DeviceMonitor::Main()':
device_monitor.cpp:(.text+0xc12): undefined reference to `udev_monitor_get_fd'
device_monitor.cpp:(.text+0xc9c): undefined reference to `udev_monitor_receive_device'
device_monitor.cpp:(.text+0xce6): undefined reference to `udev_device_unref'
device_monitor.cpp:(.text+0xcf3): undefined reference to `udev_device_get_action'
device_monitor.cpp:(.text+0xe74): undefined reference to `udev_device_get_subsystem'
device_monitor.cpp:(.text+0xe86): undefined reference to `udev_device_get_syspath'
device_monitor.cpp:(.text+0xfcc): undefined reference to `udev_device_unref'
collect2: ld returned 1 exit status
make: *** [mediasmartserverd] Error 1