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

undefined reference to `ARRAY_SIZE' #15

Open
GoogleCodeExporter opened this issue Jun 26, 2015 · 1 comment
Open

undefined reference to `ARRAY_SIZE' #15

GoogleCodeExporter opened this issue Jun 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download and extract linux-wbfs-manager-0.1.11.tar.gz.
2. Install the dependencies.
3. Run make.

What is the expected output? What do you see instead?

wbfs_gtk.o: In function `update_fs_list':
wbfs_gtk.c:(.text+0x9fd): undefined reference to `ARRAY_SIZE'
devices.o: In function `list_available_devices':
devices.c:(.text+0x4e8): undefined reference to `ARRAY_SIZE'
devices.o: In function `is_device_mounted':
devices.c:(.text+0x53f): undefined reference to `ARRAY_SIZE'
collect2: ld returned 1 exit status
make: *** [wbfs_gtk] Error 1


What version of the product are you using? On what operating system?
Running Ubuntu 10.04 AMD64 with most up to date software.

Please provide any additional information below.
Not sure why others aren't getting this error.  Either way, simple fix.  
Create a template or just stick in the size of the arrays.

Original issue reported on code.google.com by efini...@gmail.com on 4 Jun 2010 at 1:46

@GoogleCodeExporter
Copy link
Author

ARRAY_SIZE is defined in config.h since Sept 2 r38.  This looks like it should 
be closed... 

Original comment by razzlega...@gmail.com on 18 Sep 2010 at 9:50

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

No branches or pull requests

1 participant