Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build in Ubuntu 22.04 LTS #40

Open
AUDIY opened this issue Jan 11, 2025 · 5 comments
Open

Can't build in Ubuntu 22.04 LTS #40

AUDIY opened this issue Jan 11, 2025 · 5 comments

Comments

@AUDIY
Copy link

AUDIY commented Jan 11, 2025

I tried to build and install ohNet in Ubuntu 22.04 LTS, but it failed with the message like below.

CROSS_COMPILE:
Machine reported by compiler is: x86_64-linux-gnu
Machine reported by uname is: Linux
PLATFORM:
Building for system Linux and architecture x64
mkdir -p Generated
o Generated/Devices.mak OpenHome/Net/T4/Templates/DvUpnpMakeDevices.tt -a xml:OpenHome/Net/Service/Services.xml
make: o: No such file or directory
make: [Common.mak:1388: Generated/Devices.mak] Error 127 (ignored)
Attention: a makefile has been re-generated.
mkdir -p Generated
o Generated/Proxies.mak OpenHome/Net/T4/Templates/CpUpnpMakeProxies.tt -a xml:OpenHome/Net/Service/Services.xml
make: o: No such file or directory
make: [Common.mak:1383: Generated/Proxies.mak] Error 127 (ignored)
Attention: a makefile has been re-generated.
make: *** No rule to make target 'tt', needed by 'install-pkgconf'. Stop.

Could you tell me how to fix it?

@DoomHammer
Copy link

maybe try make native_only

@AUDIY
Copy link
Author

AUDIY commented Jan 19, 2025

maybe try make native_only

It seems there is no rule native_only.

$ sudo make native_only
CROSS_COMPILE:
Machine reported by compiler is: x86_64-linux-gnu
Machine reported by uname is: Linux
PLATFORM:
Building for system Linux and architecture x64
make: *** No rule to make target 'native_only'. Stop.

@DoomHammer
Copy link

Sorry, it's make native_targets

@AUDIY
Copy link
Author

AUDIY commented Jan 20, 2025

Sorry, it's make native_targets

It is also not defined as a rule.

$ sudo make native_targets
CROSS_COMPILE:
Machine reported by compiler is: x86_64-linux-gnu
Machine reported by uname is: Linux
PLATFORM:
Building for system Linux and architecture x64
make: *** No rule to make target 'native_targets'. Stop.

@jchassin
Copy link

Hello, maybe you can have a look to my following repo in which I describe how I create a 22.04 container to build ohNet :
https://github.com/jchassin/ohContainerBuilder
Hope this may help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants