On 02/16/2016 02:28 PM, Barbu Paul - Gheorghe wrote:
> On 02/15/2016 11:09 PM, Barbu Paul - Gheorghe wrote:
>> The error message given by build-rr.sh is written below:
>> [...]
>> /home/paul/localhost/rumpkernel/rumprun/src-netbsd/sys/rump/dev/lib/libpci/rumpdev_bus_dma.c
>> &&  mv rumpdev_bus_dma.d.tmp rum
>> pdev_bus_dma.d
>> In file included from
>> /home/paul/localhost/rumpkernel/rumprun/src-netbsd/sys/rump/dev/lib/libpci/rumpdev_bus_dma.c:82:0:
>> /home/paul/localhost/rumpkernel/rumprun/src-netbsd/sys/rump/dev/lib/libpci/pci_user.h:12:39:
>> fatal error: rumpcomp_userfeatures_pci.h: No suc
>> h file or directory
>> compilation terminated.
>> nbmkdep: compile failed.
>>
> 
> I fixed this (temporarily) by providing the full path to that file
> (rumpcomp_userfeatures_pci.h).
> 
>> [1] https://github.com/rumpkernel/rumprun/issues/38
> 
> I also fixed this, by appending the necessary path prefix in the
> src-netbsd/ys/rump/dev/lib/libpci/Makefile to every file.
> 
> (I attached the patch for reference, it only works on my system and is messy).
> 
> Now when I try to bake my application (which compiles fine) I get the errors
> attached in the rumprun-back-error.txt file.
> 
> Am I doing something wrong?
> 
> Where should I start fixing the linker problems?
> 
> Have a nice day!
> 

I failed to mention that I want to bake a hw_generic config:
rumprun-bake hw_generic app.bin app

It is also curious how some of the linker errors are related to "pci", the thing
that was causing the initial errors.

-- 
Barbu Paul - Gheorghe
Common sense is not so common - Voltaire
Visit My GitHub profile to see my open-source projects -
https://github.com/paulbarbu

Reply via email to