- parallels@ubuntu-linux-22-04-desktop:~/Downloads/new/libq/libqwqng-1.4/QNGmeter$ g++ -o QNGmeter QNGmeter.cpp ACBinomialChi2.cpp AutoCorrelation.cpp Bias.cpp BiasAndAC.cpp BinomialChi2.cpp BitCount.cpp Chi2.cpp Entropy.cpp Gamma.cpp KolmogorovSmirnov.cpp MT19937.cpp Monkey.cpp Serial.cpp qwqng.cpp stdafx.cpp Clear.cpp DeviceId.cpp Diagnostics.cpp ErrorHandling.cpp RandBytes.cpp RandInt32.cpp RandNormal.cpp RandUniform.cpp Reset.cpp RuntimeInfo.cpp
- /usr/bin/ld: /tmp/ccT2qD46.o: in function `main':
- Clear.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/cc18Jaxb.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/cc18Jaxb.o: in function `main':
- DeviceId.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/ccakmaeu.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/ccakmaeu.o: in function `main':
- Diagnostics.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/cc2NwkBk.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/cc2NwkBk.o: in function `main':
- ErrorHandling.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/ccP0TwLm.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/ccP0TwLm.o: in function `main':
- RandBytes.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/cca85ZQi.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/cca85ZQi.o: in function `main':
- RandInt32.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/ccNUpY6k.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/ccNUpY6k.o: in function `main':
- RandNormal.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/cch51B9m.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/cch51B9m.o: in function `main':
- RandUniform.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/ccokFMCs.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/ccokFMCs.o: in function `main':
- Reset.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/ccBFaCBf.o:(.bss+0x0): multiple definition of `QNG'; /tmp/ccT2qD46.o:(.bss+0x0): first defined here
- /usr/bin/ld: /tmp/ccBFaCBf.o: in function `main':
- RuntimeInfo.cpp:(.text+0x0): multiple definition of `main'; /tmp/ccc6G0MW.o:QNGmeter.cpp:(.text+0x24): first defined here
- /usr/bin/ld: /tmp/ccc6G0MW.o: in function `main':
- QNGmeter.cpp:(.text+0x354): undefined reference to `omp_set_nested'
- /usr/bin/ld: QNGmeter.cpp:(.text+0xcf4): undefined reference to `CStat::ZtoP(double)'
- /usr/bin/ld: QNGmeter.cpp:(.text+0xf08): undefined reference to `CStat::ZtoP(double)'
- /usr/bin/ld: QNGmeter.cpp:(.text+0x1000): undefined reference to `CStat::ZtoP(double)'
- /usr/bin/ld: QNGmeter.cpp:(.text+0x17b4): undefined reference to `CStat::ZtoP(double)'
- /usr/bin/ld: /tmp/ccxBz4G4.o: in function `CEntropy::CEntropy()':
- Entropy.cpp:(.text+0x34): undefined reference to `CStat::CStat()'
- /usr/bin/ld: Entropy.cpp:(.text+0x8c): undefined reference to `CStat::~CStat()'
- /usr/bin/ld: /tmp/ccxBz4G4.o: in function `CEntropy::~CEntropy()':
- Entropy.cpp:(.text+0xfc): undefined reference to `CStat::~CStat()'
- /usr/bin/ld: /tmp/cc8IQYyn.o: in function `CMonkey::CMonkey()':
- Monkey.cpp:(.text+0x18): undefined reference to `CMonkeyBitmap::CMonkeyBitmap()'
- /usr/bin/ld: Monkey.cpp:(.text+0x40): undefined reference to `CStat::CStat()'
- /usr/bin/ld: Monkey.cpp:(.text+0x84): undefined reference to `CStat::~CStat()'
- /usr/bin/ld: Monkey.cpp:(.text+0xb4): undefined reference to `CMonkeyBitmap::~CMonkeyBitmap()'
- /usr/bin/ld: /tmp/cc8IQYyn.o: in function `CMonkey::~CMonkey()':
- Monkey.cpp:(.text+0x114): undefined reference to `CStat::~CStat()'
- /usr/bin/ld: Monkey.cpp:(.text+0x134): undefined reference to `CMonkeyBitmap::~CMonkeyBitmap()'
- /usr/bin/ld: /tmp/cc8IQYyn.o: in function `CMonkey::InsertWord32(unsigned int)':
- Monkey.cpp:(.text+0x204): undefined reference to `CMonkeyBitmap::CheckWord(unsigned int)'
- /usr/bin/ld: /tmp/cc8IQYyn.o: in function `CMonkey::ResetTest()':
- Monkey.cpp:(.text+0x454): undefined reference to `CMonkeyBitmap::Clearmap()'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::Reset()':
- qwqng.cpp:(.text+0xbd8): undefined reference to `ftdi_usb_close'
- /usr/bin/ld: qwqng.cpp:(.text+0xc1c): undefined reference to `ftdi_free'
- /usr/bin/ld: qwqng.cpp:(.text+0xc58): undefined reference to `ftdi_usb_open_desc'
- /usr/bin/ld: qwqng.cpp:(.text+0xc9c): undefined reference to `ftdi_free'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::FtdiClose()':
- qwqng.cpp:(.text+0x1788): undefined reference to `ftdi_usb_close'
- /usr/bin/ld: qwqng.cpp:(.text+0x17cc): undefined reference to `ftdi_free'
- /usr/bin/ld: qwqng.cpp:(.text+0x17ec): undefined reference to `ftdi_free'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::FindOpen()':
- qwqng.cpp:(.text+0x18a8): undefined reference to `ftdi_new'
- /usr/bin/ld: qwqng.cpp:(.text+0x1960): undefined reference to `ftdi_usb_find_all'
- /usr/bin/ld: qwqng.cpp:(.text+0x1bb0): undefined reference to `ftdi_usb_get_strings'
- /usr/bin/ld: qwqng.cpp:(.text+0x1c88): undefined reference to `ftdi_list_free'
- /usr/bin/ld: qwqng.cpp:(.text+0x1c94): undefined reference to `ftdi_list_free'
- /usr/bin/ld: qwqng.cpp:(.text+0x1e0c): undefined reference to `ftdi_usb_open_desc'
- /usr/bin/ld: qwqng.cpp:(.text+0x2124): undefined reference to `ftdi_usb_open_desc'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::Initialize()':
- qwqng.cpp:(.text+0x2550): undefined reference to `ftdi_set_bitmode'
- /usr/bin/ld: qwqng.cpp:(.text+0x25a8): undefined reference to `ftdi_set_bitmode'
- /usr/bin/ld: qwqng.cpp:(.text+0x2618): undefined reference to `ftdi_write_data_set_chunksize'
- /usr/bin/ld: qwqng.cpp:(.text+0x263c): undefined reference to `ftdi_read_data_set_chunksize'
- /usr/bin/ld: qwqng.cpp:(.text+0x2690): undefined reference to `ftdi_setflowctrl'
- /usr/bin/ld: qwqng.cpp:(.text+0x26ec): undefined reference to `ftdi_set_latency_timer'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::FtdiRead(void*, int, bool)':
- qwqng.cpp:(.text+0x28a0): undefined reference to `ftdi_read_data'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::FtdiWrite(void*, int)':
- qwqng.cpp:(.text+0x2958): undefined reference to `ftdi_write_data'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::FtdiCommandResponse(unsigned char, unsigned char*)':
- qwqng.cpp:(.text+0x2ac4): undefined reference to `ftdi_read_data'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::StartStreaming()':
- qwqng.cpp:(.text+0x2c00): undefined reference to `ftdi_write_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x2c94): undefined reference to `ftdi_read_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x2d84): undefined reference to `ftdi_write_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x2dfc): undefined reference to `ftdi_read_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x2eac): undefined reference to `ftdi_read_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x3010): undefined reference to `ftdi_write_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x3090): undefined reference to `ftdi_read_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x31ec): undefined reference to `ftdi_read_data'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::StopStreaming()':
- qwqng.cpp:(.text+0x3488): undefined reference to `ftdi_write_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x350c): undefined reference to `ftdi_read_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x3608): undefined reference to `ftdi_write_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x367c): undefined reference to `ftdi_read_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x372c): undefined reference to `ftdi_read_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x38d8): undefined reference to `ftdi_usb_purge_rx_buffer'
- /usr/bin/ld: qwqng.cpp:(.text+0x395c): undefined reference to `ftdi_read_data'
- /usr/bin/ld: /tmp/ccjXW0WF.o: in function `FtdiDevice::DetermineDelimiter()':
- qwqng.cpp:(.text+0x3a68): undefined reference to `ftdi_write_data'
- /usr/bin/ld: qwqng.cpp:(.text+0x3b10): undefined reference to `ftdi_read_data'
- collect2: error: ld returned 1 exit status